Метод | Описание | |
---|---|---|
getCurrent ( ) : Predis\Connection\NodeConnectionInterface | Returns the connection instance currently in use by the aggregate connection. | |
getMaster ( ) : Predis\Connection\NodeConnectionInterface | Returns the connection instance for the master Redis node. | |
getSlaves ( ) : Predis\Connection\NodeConnectionInterface | Returns a list of connection instances to slave nodes. | |
switchTo ( string $connection ) | Switches the internal connection instance in use. |
public getCurrent ( ) : Predis\Connection\NodeConnectionInterface | ||
Результат | Predis\Connection\NodeConnectionInterface |
public getMaster ( ) : Predis\Connection\NodeConnectionInterface | ||
Результат | Predis\Connection\NodeConnectionInterface |
public getSlaves ( ) : Predis\Connection\NodeConnectionInterface | ||
Результат | Predis\Connection\NodeConnectionInterface |