RedisProcessRepository
class RedisProcessRepository implements ProcessRepository
Traits
Methods
Execute commands in a pipeline, falling back to a transaction.
Get all of the orphan process IDs and the times they were observed.
Record the given process IDs as orphaned.
Get the process IDs orphaned for at least the given number of seconds.
Remove the given process IDs from the orphan list.
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 21
__construct(Factory $redis)
Create a new repository instance.
at line 29
array
allOrphans(string $master)
Get all of the orphan process IDs and the times they were observed.
at line 39
void
orphaned(string $master, array $processIds)
Record the given process IDs as orphaned.
at line 61
array
orphanedFor(string $master, int $seconds)
Get the process IDs orphaned for at least the given number of seconds.
at line 73
void
forgetOrphans(string $master, array $processIds)
Remove the given process IDs from the orphan list.
at line 84
protected RedisProxy
connection()
Get the Redis connection instance.