QueueItem
Table of Contents
Properties
-
$id
: int
-
$isLocked
: bool
-
$pointer
: int
-
$status
: Status
-
$syncInfo
: SyncInfo
Methods
-
__construct()
: mixed
-
createFromRow()
: self
-
lock()
: self
-
setErrorStatus()
: self
-
unlock()
: self
-
updatePointer()
: self
$id
read-only
public
int
$id
$isLocked
read-only
public
bool
$isLocked
$pointer
read-only
public
int
$pointer
$status
read-only
public
Status
$status
$syncInfo
read-only
public
SyncInfo
$syncInfo
__construct()
public
__construct(int $id, SyncInfo $syncInfo, int $pointer, bool $isLocked, Status $status) : mixed
Parameters
-
$id
: int
-
-
$syncInfo
: SyncInfo
-
-
$pointer
: int
-
-
$isLocked
: bool
-
-
$status
: Status
-
createFromRow()
public
static createFromRow(array<string|int, mixed> $row) : self
Parameters
-
$row
: array<string|int, mixed>
-
lock()
public
lock() : self
setErrorStatus()
public
setErrorStatus() : self
unlock()
public
unlock() : self
updatePointer()
public
updatePointer(int $pointer) : self
Parameters
-
$pointer
: int
-