mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
Fix phpdocs.
This commit is contained in:
@@ -43,7 +43,7 @@ use Predis\Response\ErrorInterface as ErrorResponseInterface;
|
||||
* It is also possible to ask for the full and updated slots map directly to one
|
||||
* of the nodes and optionally enable such a behaviour upon -MOVED redirections.
|
||||
* Asking for the cluster configuration to Redis is actually done by issuing a
|
||||
* CLUSTER NODES command to a random node in the pool.
|
||||
* CLUSTER SLOTS command to a random node in the pool.
|
||||
*
|
||||
* @author Daniele Alessandri <suppakilla@gmail.com>
|
||||
*/
|
||||
@@ -176,7 +176,7 @@ class RedisCluster implements ClusterInterface, IteratorAggregate, Countable
|
||||
|
||||
/**
|
||||
* Generates an updated slots map fetching the cluster configuration using
|
||||
* the CLUSTER NODES command against the specified node or a random one from
|
||||
* the CLUSTER SLOTS command against the specified node or a random one from
|
||||
* the pool.
|
||||
*
|
||||
* @param NodeConnectionInterface $connection Optional connection instance.
|
||||
@@ -512,7 +512,7 @@ class RedisCluster implements ClusterInterface, IteratorAggregate, Countable
|
||||
|
||||
/**
|
||||
* Enables automatic fetching of the current slots map from one of the nodes
|
||||
* using the CLUSTER NODES command. This option is disabled by default but
|
||||
* using the CLUSTER SLOTS command. This option is disabled by default but
|
||||
* asking the current slots map to Redis upon -MOVED responses may reduce
|
||||
* overhead by eliminating the trial-and-error nature of the node guessing
|
||||
* procedure, mostly when targeting many keys that would end up in a lot of
|
||||
@@ -521,7 +521,7 @@ class RedisCluster implements ClusterInterface, IteratorAggregate, Countable
|
||||
* The slots map can still be manually fetched using the askSlotsMap()
|
||||
* method whether or not this option is enabled.
|
||||
*
|
||||
* @param bool $value Enable or disable the use of CLUSTER NODES.
|
||||
* @param bool $value Enable or disable the use of CLUSTER SLOTS.
|
||||
*/
|
||||
public function enableAutoSlotsMap($value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user