RedisMasterSupervisorRepository
class RedisMasterSupervisorRepository implements MasterSupervisorRepository
Traits
Methods
Execute commands in a pipeline, falling back to a transaction.
Get the names of all the master supervisors currently running.
Get information on all of the supervisors.
Get information on the given master supervisors.
Remove the master supervisor information from storage.
Remove expired master 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 23
__construct(Factory $redis)
Create a new repository instance.
at line 31
array
names()
Get the names of all the master supervisors currently running.
at line 43
array
all()
Get information on all of the supervisors.
at line 51
stdClass|null
find(string $name)
Get information on a master supervisor by name.
at line 59
array
get(array $names)
Get information on the given master supervisors.
at line 77
void
update(MasterSupervisor $master)
Update the information about the given master supervisor.
at line 107
void
forget(string $name)
Remove the master supervisor information from storage.
at line 125
void
flushExpired()
Remove expired master supervisors from storage.
at line 137
protected RedisProxy
connection()
Get the Redis connection instance.