PHP 클래스 Pimcore\Model\Tool\Lock

상속: extends Pimcore\Model\AbstractModel
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$date integer
$id string

보호된 프로퍼티들

프로퍼티 타입 설명
$acquiredLocks array
$instance Lock

공개 메소드들

메소드 설명
acquire ( string $key, $expire = 120, $refreshInterval = 1 )
get ( $key ) : Lock
getDate ( ) : integer
getId ( ) : string
isLocked ( $key, integer $expire = 120 ) : mixed
lock ( string $key ) : boolean
release ( string $key )
releaseAll ( )
setDate ( integer $date )
setId ( string $id )

보호된 메소드들

메소드 설명
getInstance ( ) : Lock

메소드 상세

acquire() 공개 정적인 메소드

public static acquire ( string $key, $expire = 120, $refreshInterval = 1 )
$key string

get() 공개 정적인 메소드

public static get ( $key ) : Lock
$key
리턴 Lock

getDate() 공개 메소드

public getDate ( ) : integer
리턴 integer

getId() 공개 메소드

public getId ( ) : string
리턴 string

getInstance() 보호된 정적인 메소드

protected static getInstance ( ) : Lock
리턴 Lock

isLocked() 공개 정적인 메소드

public static isLocked ( $key, integer $expire = 120 ) : mixed
$key
$expire integer
리턴 mixed

lock() 공개 정적인 메소드

public static lock ( string $key ) : boolean
$key string
리턴 boolean

release() 공개 정적인 메소드

public static release ( string $key )
$key string

releaseAll() 공개 정적인 메소드

public static releaseAll ( )

setDate() 공개 메소드

public setDate ( integer $date )
$date integer

setId() 공개 메소드

public setId ( string $id )
$id string

프로퍼티 상세

$acquiredLocks 보호되어 있는 정적으로 프로퍼티

protected static array $acquiredLocks
리턴 array

$date 공개적으로 프로퍼티

public int $date
리턴 integer

$id 공개적으로 프로퍼티

public string $id
리턴 string

$instance 보호되어 있는 정적으로 프로퍼티

protected static Lock,Pimcore\Model\Tool $instance
리턴 Lock