PHP 클래스 Jackalope\Lock\Lock

상속: implements PHPCR\Lock\LockInterface
파일 보기 프로젝트 열기: jackalope/jackalope 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$expire integer The unix timestamp (seconds since 1970) at which this lock will expire
$isDeep boolean
$isLive boolean
$isLockOwningSession boolean
$isSessionScoped boolean
$lockManager LockManager
$lockOwner string
$lockToken string
$path string

공개 메소드들

메소드 설명
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 ( LockManager $lm ) Set the lock manager to be used with isLive requests and such
setLockOwner ( string $owner )
setLockToken ( string $token )
setNodePath ( string $path )

메소드 상세

getLockOwner() 공개 메소드

{@inheritDoc}
public getLockOwner ( )

getLockToken() 공개 메소드

{@inheritDoc}
public getLockToken ( )

getNode() 공개 메소드

{@inheritDoc}
public getNode ( )

getSecondsRemaining() 공개 메소드

{@inheritDoc}
public getSecondsRemaining ( )

isDeep() 공개 메소드

{@inheritDoc}
public isDeep ( )

isLive() 공개 메소드

{@inheritDoc}
public isLive ( )

isLockOwningSession() 공개 메소드

{@inheritDoc}
public isLockOwningSession ( )

isSessionScoped() 공개 메소드

{@inheritDoc}
public isSessionScoped ( )

refresh() 공개 메소드

{@inheritDoc}
public refresh ( )

setExpireTime() 공개 메소드

Set to null for unknown / infinite timeout
또한 보기: http://ch.php.net/manual/en/function.time.php
public setExpireTime ( integer $expire )
$expire integer timestamp when this lock will expire in seconds of unix epoch

setIsDeep() 공개 메소드

public setIsDeep ( boolean $isDeep )
$isDeep boolean

setIsLive() 공개 메소드

Can be used by the lock manager to tell the lock its no longer live
public setIsLive ( boolean $isLive )
$isLive boolean

setIsLockOwningSession() 공개 메소드

public setIsLockOwningSession ( boolean $isLockOwningSession )
$isLockOwningSession boolean

setIsSessionScoped() 공개 메소드

public setIsSessionScoped ( boolean $isSessionScoped )
$isSessionScoped boolean

setLockManager() 공개 메소드

Set the lock manager to be used with isLive requests and such
public setLockManager ( LockManager $lm )
$lm LockManager

setLockOwner() 공개 메소드

public setLockOwner ( string $owner )
$owner string

setLockToken() 공개 메소드

public setLockToken ( string $token )
$token string

setNodePath() 공개 메소드

public setNodePath ( string $path )
$path string the path to our owning node

프로퍼티 상세

$expire 보호되어 있는 프로퍼티

The unix timestamp (seconds since 1970) at which this lock will expire
protected int $expire
리턴 integer

$isDeep 보호되어 있는 프로퍼티

protected bool $isDeep
리턴 boolean

$isLive 보호되어 있는 프로퍼티

protected bool $isLive
리턴 boolean

$isLockOwningSession 보호되어 있는 프로퍼티

protected bool $isLockOwningSession
리턴 boolean

$isSessionScoped 보호되어 있는 프로퍼티

protected bool $isSessionScoped
리턴 boolean

$lockManager 보호되어 있는 프로퍼티

protected LockManager,Jackalope\Lock $lockManager
리턴 LockManager

$lockOwner 보호되어 있는 프로퍼티

protected string $lockOwner
리턴 string

$lockToken 보호되어 있는 프로퍼티

protected string $lockToken
리턴 string

$path 보호되어 있는 프로퍼티

protected string $path
리턴 string