PHP Class Predis\Transaction\MultiExecState

Author: Daniele Alessandri ([email protected])
Afficher le fichier Open project: tillkruss/redis-object-cache Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

public __construct ( )

check() public méthode

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

flag() public méthode

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

get() public méthode

Gets the internal state flags.
public get ( ) : integer
Résultat integer

isCAS() public méthode

Returns the state of the CAS flag.
public isCAS ( ) : boolean
Résultat boolean

isDiscarded() public méthode

Returns the state of the DISCARDED flag.
public isDiscarded ( ) : boolean
Résultat boolean

isExecuting() public méthode

Returns the state of the INSIDEBLOCK flag.
public isExecuting ( ) : boolean
Résultat boolean

isInitialized() public méthode

Returns the state of the INITIALIZED flag.
public isInitialized ( ) : boolean
Résultat boolean

isReset() public méthode

Returns the state of the RESET flag.
public isReset ( ) : boolean
Résultat boolean

isWatchAllowed() public méthode

Returns if WATCH is allowed in the current state.
public isWatchAllowed ( ) : boolean
Résultat boolean

isWatching() public méthode

Returns the state of the WATCH flag.
public isWatching ( ) : boolean
Résultat boolean

reset() public méthode

Resets the state of a transaction.
public reset ( )

set() public méthode

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

unflag() public méthode

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