PHP 클래스 MGDigital\BusQue\Redis\Predis\PredisAdapter

상속: implements MGDigital\BusQue\Redis\RedisAdapterInterface
파일 보기 프로젝트 열기: mgdigital/busque

공개 메소드들

메소드 설명
__construct ( Predis\ClientInterface $client )
bRPopLPush ( string $source, string $destination, integer $timeout )
evalLua ( string $lua, array $args )
hGet ( string $key, string $field )
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 )

비공개 메소드들

메소드 설명
tryCatch ( callable $callable )

메소드 상세

__construct() 공개 메소드

public __construct ( Predis\ClientInterface $client )
$client Predis\ClientInterface

bRPopLPush() 공개 메소드

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

evalLua() 공개 메소드

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

hGet() 공개 메소드

public hGet ( string $key, string $field )
$key string
$field string

lLen() 공개 메소드

public lLen ( string $key ) : integer
$key string
리턴 integer

lRange() 공개 메소드

public lRange ( string $key, integer $offset, integer $limit = 10 ) : array
$key string
$offset integer
$limit integer
리턴 array

sAdd() 공개 메소드

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

sIsMember() 공개 메소드

public sIsMember ( string $key, string $value ) : boolean
$key string
$value string
리턴 boolean

sMembers() 공개 메소드

public sMembers ( string $key ) : array
$key string
리턴 array

sRem() 공개 메소드

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

zScore() 공개 메소드

public zScore ( string $key, string $value )
$key string
$value string