Method | Description | |
---|---|---|
__construct ( mixed $useCache = false ) | Redis队列驱动 | |
lPop ( string $name ) : mixed | 从列表头出队 | |
lPush ( string $name, mixed $data ) : mixed | 从列表头入队 | |
rPop ( string $name ) : mixed | 从列表尾出队 | |
rPopLpush ( string $from, string $to ) : mixed | 弹入弹出 | |
rPush ( string $name, mixed $data ) : mixed | 从列表尾入队 |
Method | Description | |
---|---|---|
getDriver ( ) : |
返回驱动 |
public __construct ( mixed $useCache = false ) | ||
$useCache | mixed | 使用的缓存配置key,未传则获取redis_queue_use_cache中配置的key |