PHP Interface MGDigital\BusQue\Redis\RedisAdapterInterface

Afficher le fichier Open project: mgdigital/busque Interface Usage Examples

Méthodes publiques

Méthode Description
bRPopLPush ( string $source, string $destination, integer $timeout )
evalLua ( string $lua, array $args )
hGet ( string $key, string $field ) : string | null
lLen ( string $key ) : integer
lRange ( string $key, integer $offset, integer $limit = 10 ) : array
sAdd ( string $key, array $members )
sIsMember ( string $key, string $value ) : boolean
sMembers ( string $key ) : array
sRem ( string $key, array $members )
zScore ( string $key, string $value ) : integer | null

Method Details

bRPopLPush() public méthode

public bRPopLPush ( string $source, string $destination, integer $timeout )
$source string
$destination string
$timeout integer

evalLua() public méthode

public evalLua ( string $lua, array $args )
$lua string
$args array

hGet() public méthode

public hGet ( string $key, string $field ) : string | null
$key string
$field string
Résultat string | null

lLen() public méthode

public lLen ( string $key ) : integer
$key string
Résultat integer

lRange() public méthode

public lRange ( string $key, integer $offset, integer $limit = 10 ) : array
$key string
$offset integer
$limit integer
Résultat array

sAdd() public méthode

public sAdd ( string $key, array $members )
$key string
$members array

sIsMember() public méthode

public sIsMember ( string $key, string $value ) : boolean
$key string
$value string
Résultat boolean

sMembers() public méthode

public sMembers ( string $key ) : array
$key string
Résultat array

sRem() public méthode

public sRem ( string $key, array $members )
$key string
$members array

zScore() public méthode

public zScore ( string $key, string $value ) : integer | null
$key string
$value string
Résultat integer | null