◆ __construct()
CirrusSearch\Assignment\ConstantAssignment::__construct |
( |
array | $servers | ) |
|
- Parameters
-
string[] | array[] | $servers | Elastica connection configuration |
◆ canWriteToCluster()
CirrusSearch\Assignment\ConstantAssignment::canWriteToCluster |
( |
| $clusterName, |
|
|
| $updateGroup ) |
◆ getAllKnownClusters()
CirrusSearch\Assignment\ConstantAssignment::getAllKnownClusters |
( |
| ) |
|
◆ getCrossClusterName()
CirrusSearch\Assignment\ConstantAssignment::getCrossClusterName |
( |
| ) |
|
◆ getSearchCluster()
CirrusSearch\Assignment\ConstantAssignment::getSearchCluster |
( |
| ) |
|
◆ getServerList()
CirrusSearch\Assignment\ConstantAssignment::getServerList |
( |
| $cluster = null | ) |
|
◆ getWritableClusters()
CirrusSearch\Assignment\ConstantAssignment::getWritableClusters |
( |
string | $updateGroup | ) |
|
◆ hasCluster()
CirrusSearch\Assignment\ConstantAssignment::hasCluster |
( |
string | $clusterName | ) |
|
◆ uniqueId()
CirrusSearch\Assignment\ConstantAssignment::uniqueId |
( |
| $cluster | ) |
|
- Parameters
-
string | $cluster | The cluster to id. |
- Returns
- string An identifier that unique describes the connection properties. Instances of the same implementation will return same value for same configuration.
Implements CirrusSearch\Assignment\ClusterAssignment.
The documentation for this class was generated from the following file:
- includes/Assignment/ConstantAssignment.php