class RedisSupervisorRepository implements SupervisorRepository

Traits

Methods

array
pipeline(callable $callback)

Execute commands in a pipeline, falling back to a transaction.

__construct(Factory $redis)

Create a new repository instance.

array
names()

Get the names of all the supervisors currently running.

array
all()

Get information on all of the supervisors.

stdClass|null
find(string $name)

Get information on a supervisor by name.

array
get(array $names)

Get information on the given supervisors.

int
longestActiveTimeout()

Get the longest active timeout setting for a supervisor.

void
update(Supervisor $supervisor)

Update the information about the given supervisor process.

void
forget(array|string $names)

Remove the supervisor information from storage.

void
flushExpired()

Remove expired supervisors from storage.

connection()

Get the Redis connection instance.

Details

protected array pipeline(callable $callback)

Execute commands in a pipeline, falling back to a transaction.

Parameters

callable $callback

Return Value

array

at line 22
__construct(Factory $redis)

Create a new repository instance.

Parameters

Factory $redis

at line 30
array names()

Get the names of all the supervisors currently running.

Return Value

array

at line 42
array all()

Get information on all of the supervisors.

Return Value

array

at line 50
stdClass|null find(string $name)

Get information on a supervisor by name.

Parameters

string $name

Return Value

stdClass|null

at line 58
array get(array $names)

Get information on the given supervisors.

Parameters

array $names

Return Value

array

at line 80
int longestActiveTimeout()

Get the longest active timeout setting for a supervisor.

Return Value

int

at line 90
void update(Supervisor $supervisor)

Update the information about the given supervisor process.

Parameters

Supervisor $supervisor

Return Value

void

at line 122
void forget(array|string $names)

Remove the supervisor information from storage.

Parameters

array|string $names

Return Value

void

at line 140
void flushExpired()

Remove expired supervisors from storage.

Return Value

void

at line 152
protected RedisProxy connection()

Get the Redis connection instance.

Return Value

RedisProxy