Property | Type | Description | |
---|---|---|---|
$expire | integer | The unix timestamp (seconds since 1970) at which this lock will expire | |
$isDeep | boolean | ||
$isLive | boolean | ||
$isLockOwningSession | boolean | ||
$isSessionScoped | boolean | ||
$lockManager | |||
$lockOwner | string | ||
$lockToken | string | ||
$path | string |
Method | Description | |
---|---|---|
getLockOwner ( ) | {@inheritDoc} | |
getLockToken ( ) | {@inheritDoc} | |
getNode ( ) | {@inheritDoc} | |
getSecondsRemaining ( ) | {@inheritDoc} | |
isDeep ( ) | {@inheritDoc} | |
isLive ( ) | {@inheritDoc} | |
isLockOwningSession ( ) | {@inheritDoc} | |
isSessionScoped ( ) | {@inheritDoc} | |
refresh ( ) | {@inheritDoc} | |
setExpireTime ( integer $expire ) | Set the lock expire timestamp | |
setIsDeep ( boolean $isDeep ) | ||
setIsLive ( boolean $isLive ) | Can be used by the lock manager to tell the lock its no longer live | |
setIsLockOwningSession ( boolean $isLockOwningSession ) | ||
setIsSessionScoped ( boolean $isSessionScoped ) | ||
setLockManager ( |
Set the lock manager to be used with isLive requests and such | |
setLockOwner ( string $owner ) | ||
setLockToken ( string $token ) | ||
setNodePath ( string $path ) |
public setExpireTime ( integer $expire ) | ||
$expire | integer | timestamp when this lock will expire in seconds of unix epoch |
public setIsLockOwningSession ( boolean $isLockOwningSession ) | ||
$isLockOwningSession | boolean |
public setIsSessionScoped ( boolean $isSessionScoped ) | ||
$isSessionScoped | boolean |
public setLockManager ( |
||
$lm |
public setNodePath ( string $path ) | ||
$path | string | the path to our owning node |
protected int $expire | ||
return | integer |
protected LockManager,Jackalope\Lock $lockManager | ||
return |