PHP 클래스 Predis\Transaction\MultiExecState

저자: Daniele Alessandri ([email protected])
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
check ( integer $flags ) : boolean Returns if the specified flag or set of flags is set.
flag ( integer $flags ) Sets one or more flags.
get ( ) : integer Gets the internal state flags.
isCAS ( ) : boolean Returns the state of the CAS flag.
isDiscarded ( ) : boolean Returns the state of the DISCARDED flag.
isExecuting ( ) : boolean Returns the state of the INSIDEBLOCK flag.
isInitialized ( ) : boolean Returns the state of the INITIALIZED flag.
isReset ( ) : boolean Returns the state of the RESET flag.
isWatchAllowed ( ) : boolean Returns if WATCH is allowed in the current state.
isWatching ( ) : boolean Returns the state of the WATCH flag.
reset ( ) Resets the state of a transaction.
set ( integer $flags ) Sets the internal state flags.
unflag ( integer $flags ) Resets one or more flags.

메소드 상세

__construct() 공개 메소드

public __construct ( )

check() 공개 메소드

Returns if the specified flag or set of flags is set.
public check ( integer $flags ) : boolean
$flags integer Flag
리턴 boolean

flag() 공개 메소드

Sets one or more flags.
public flag ( integer $flags )
$flags integer Set of flags

get() 공개 메소드

Gets the internal state flags.
public get ( ) : integer
리턴 integer

isCAS() 공개 메소드

Returns the state of the CAS flag.
public isCAS ( ) : boolean
리턴 boolean

isDiscarded() 공개 메소드

Returns the state of the DISCARDED flag.
public isDiscarded ( ) : boolean
리턴 boolean

isExecuting() 공개 메소드

Returns the state of the INSIDEBLOCK flag.
public isExecuting ( ) : boolean
리턴 boolean

isInitialized() 공개 메소드

Returns the state of the INITIALIZED flag.
public isInitialized ( ) : boolean
리턴 boolean

isReset() 공개 메소드

Returns the state of the RESET flag.
public isReset ( ) : boolean
리턴 boolean

isWatchAllowed() 공개 메소드

Returns if WATCH is allowed in the current state.
public isWatchAllowed ( ) : boolean
리턴 boolean

isWatching() 공개 메소드

Returns the state of the WATCH flag.
public isWatching ( ) : boolean
리턴 boolean

reset() 공개 메소드

Resets the state of a transaction.
public reset ( )

set() 공개 메소드

Sets the internal state flags.
public set ( integer $flags )
$flags integer Set of flags

unflag() 공개 메소드

Resets one or more flags.
public unflag ( integer $flags )
$flags integer Set of flags