Package org.apache.solr.cloud.overseer
Class ReplicaMutator
- java.lang.Object
-
- org.apache.solr.cloud.overseer.ReplicaMutator
-
public class ReplicaMutator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.solr.client.solrj.cloud.SolrCloudManager
cloudManager
protected org.apache.solr.client.solrj.cloud.DistribStateManager
stateManager
protected org.apache.solr.common.cloud.SolrZkClient
zkClient
-
Constructor Summary
Constructors Constructor Description ReplicaMutator(org.apache.solr.client.solrj.cloud.SolrCloudManager cloudManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZkWriteCommand
addReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)
ZkWriteCommand
deleteReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)
ZkWriteCommand
setState(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)
Handles state updatesprotected ZkWriteCommand
updateState(org.apache.solr.common.cloud.ClusterState prevState, org.apache.solr.common.cloud.ZkNodeProps message)
-
-
-
Method Detail
-
addReplicaProperty
public ZkWriteCommand addReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)
-
deleteReplicaProperty
public ZkWriteCommand deleteReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)
-
setState
public ZkWriteCommand setState(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)
Handles state updates
-
updateState
protected ZkWriteCommand updateState(org.apache.solr.common.cloud.ClusterState prevState, org.apache.solr.common.cloud.ZkNodeProps message)
-
-