class RedisSentinel (View source)

Methods

__construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = null, array $context = null)

No description

ckquorum(string $master)

No description

failover(string $master)

No description

flushconfig()

No description

array|bool|RedisSentinel
getMasterAddrByName(string $master)

No description

array|bool|RedisSentinel
master(string $master)

No description

array|bool|RedisSentinel
masters()

No description

string
myid()

No description

ping()

No description

reset(string $pattern)

No description

array|bool|RedisSentinel
sentinels(string $master)

No description

array|bool|RedisSentinel
slaves(string $master)

No description

Details

__construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = null, array $context = null)

No description

Parameters

string $host
int $port
float $timeout
mixed $persistent
int $retry_interval
float $read_timeout
mixed $auth
array $context

bool|RedisSentinel ckquorum(string $master)

No description

Parameters

string $master

Return Value

bool|RedisSentinel

bool|RedisSentinel failover(string $master)

No description

Parameters

string $master

Return Value

bool|RedisSentinel

bool|RedisSentinel flushconfig()

No description

Return Value

bool|RedisSentinel

array|bool|RedisSentinel getMasterAddrByName(string $master)

No description

Parameters

string $master

Return Value

array|bool|RedisSentinel

array|bool|RedisSentinel master(string $master)

No description

Parameters

string $master

Return Value

array|bool|RedisSentinel

array|bool|RedisSentinel masters()

No description

Return Value

array|bool|RedisSentinel

string myid()

No description

Return Value

string

bool|RedisSentinel ping()

No description

Return Value

bool|RedisSentinel

bool|RedisSentinel reset(string $pattern)

No description

Parameters

string $pattern

Return Value

bool|RedisSentinel

array|bool|RedisSentinel sentinels(string $master)

No description

Parameters

string $master

Return Value

array|bool|RedisSentinel

array|bool|RedisSentinel slaves(string $master)

No description

Parameters

string $master

Return Value

array|bool|RedisSentinel