mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-24 00:52:16 +01:00
45 lines
1.0 KiB
PHP
45 lines
1.0 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @generate-function-entries
|
|
* @generate-legacy-arginfo
|
|
* @generate-class-entries
|
|
*/
|
|
|
|
class RedisSentinel {
|
|
|
|
public function __construct(array $options = null);
|
|
|
|
/** @return bool|RedisSentinel */
|
|
public function ckquorum(string $master);
|
|
|
|
/** @return bool|RedisSentinel */
|
|
public function failover(string $master);
|
|
|
|
/** @return bool|RedisSentinel */
|
|
public function flushconfig();
|
|
|
|
/** @return array|bool|RedisSentinel */
|
|
public function getMasterAddrByName(string $master);
|
|
|
|
/** @return array|bool|RedisSentinel */
|
|
public function master(string $master);
|
|
|
|
/** @return array|bool|RedisSentinel */
|
|
public function masters();
|
|
|
|
public function myid(): string;
|
|
|
|
/** @return bool|RedisSentinel */
|
|
public function ping();
|
|
|
|
/** @return int|RedisSentinel */
|
|
public function reset(string $pattern);
|
|
|
|
/** @return array|bool|RedisSentinel */
|
|
public function sentinels(string $master);
|
|
|
|
/** @return array|bool|RedisSentinel */
|
|
public function slaves(string $master);
|
|
}
|