RedisHorizonCommandQueue
class RedisHorizonCommandQueue implements HorizonCommandQueue
Traits
Methods
array
pipeline(callable $callback)
Execute commands in a pipeline, falling back to a transaction.
void
push(string $name, string $command, array $options = [])
Push a command onto a given queue.
array
pending(string $name)
Get the pending commands for a given queue name.
void
flush(string $name)
Flush the command queue for a given queue name.
connection()
Get the Redis connection instance.
Details
in
UsesClusterAwarePipeline at line 12
protected array
pipeline(callable $callback)
Execute commands in a pipeline, falling back to a transaction.
at line 19
__construct(Factory $redis)
Create a new command queue instance.
at line 27
void
push(string $name, string $command, array $options = [])
Push a command onto a given queue.
at line 38
array
pending(string $name)
Get the pending commands for a given queue name.
at line 61
void
flush(string $name)
Flush the command queue for a given queue name.
at line 69
protected RedisProxy
connection()
Get the Redis connection instance.