RedisSupervisorRepository
class RedisSupervisorRepository implements SupervisorRepository
Traits
Methods
Execute commands in a pipeline, falling back to a transaction.
Get the names of all the supervisors currently running.
Get information on all of the supervisors.
Get information on the given supervisors.
Get the longest active timeout setting for a supervisor.
Remove the supervisor information from storage.
Remove expired supervisors from storage.
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 22
__construct(Factory $redis)
Create a new repository instance.
at line 30
array
names()
Get the names of all the supervisors currently running.
at line 42
array
all()
Get information on all of the supervisors.
at line 50
stdClass|null
find(string $name)
Get information on a supervisor by name.
at line 58
array
get(array $names)
Get information on the given supervisors.
at line 80
int
longestActiveTimeout()
Get the longest active timeout setting for a supervisor.
at line 90
void
update(Supervisor $supervisor)
Update the information about the given supervisor process.
at line 122
void
forget(array|string $names)
Remove the supervisor information from storage.
at line 140
void
flushExpired()
Remove expired supervisors from storage.
at line 152
protected RedisProxy
connection()
Get the Redis connection instance.