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.SolrCloudManagercloudManagerprotected org.apache.solr.client.solrj.cloud.DistribStateManagerstateManagerprotected org.apache.solr.common.cloud.SolrZkClientzkClient
-
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 ZkWriteCommandaddReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommanddeleteReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandsetState(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)Handles state updatesprotected ZkWriteCommandupdateState(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)
-
-