Method |
Description |
|
add ( Predis\Connection\NodeConnectionInterface $connection ) |
Adds a connection instance to the aggregate connection. |
|
getConnectionByCommand ( Predis\Command\CommandInterface $command ) : Predis\Connection\NodeConnectionInterface |
Returns the connection instance in charge for the given command. |
|
getConnectionById ( string $connectionID ) : Predis\Connection\NodeConnectionInterface | null |
Returns a connection instance from the aggregate connection by its alias. |
|
remove ( Predis\Connection\NodeConnectionInterface $connection ) : boolean |
Removes the specified connection instance from the aggregate connection. |
|