Uses of Class
org.apache.solr.cloud.overseer.ZkWriteCommand
-
Packages that use ZkWriteCommand Package Description org.apache.solr.cloud Classes for dealing with ZooKeeper when operating in SolrCloud mode.org.apache.solr.cloud.overseer Classes for updating cluster state in SolrCloud mode. -
-
Uses of ZkWriteCommand in org.apache.solr.cloud
Methods in org.apache.solr.cloud that return ZkWriteCommand Modifier and Type Method Description abstract ZkWriteCommand
DistributedClusterStateUpdater.MutatingCommand. buildWriteCommand(SolrCloudManager scm, ClusterState cs, ZkNodeProps message)
mutating commands that return a single ZkWriteCommand override this method -
Uses of ZkWriteCommand in org.apache.solr.cloud.overseer
Fields in org.apache.solr.cloud.overseer declared as ZkWriteCommand Modifier and Type Field Description static ZkWriteCommand
ZkStateWriter. NO_OP
Represents a no-opZkWriteCommand
which will result in no modification to cluster stateFields in org.apache.solr.cloud.overseer with type parameters of type ZkWriteCommand Modifier and Type Field Description protected Map<String,ZkWriteCommand>
ZkStateWriter. updates
Methods in org.apache.solr.cloud.overseer that return types with arguments of type ZkWriteCommand Modifier and Type Method Description static Optional<ZkWriteCommand>
NodeMutator. computeCollectionUpdate(String nodeName, String collectionName, DocCollection docCollection, SolrZkClient client)
Returns the write command needed to update the replicas of a given collection given the identity of a node being down.List<ZkWriteCommand>
NodeMutator. downNode(ClusterState clusterState, ZkNodeProps message)
Methods in org.apache.solr.cloud.overseer with parameters of type ZkWriteCommand Modifier and Type Method Description ClusterState
ZkStateWriter. writeUpdate(ZkWriteCommand command)
Method parameters in org.apache.solr.cloud.overseer with type arguments of type ZkWriteCommand Modifier and Type Method Description ClusterState
ZkStateWriter. enqueueUpdate(ClusterState prevState, List<ZkWriteCommand> cmds, ZkStateWriter.ZkWriteCallback callback)
Applies the givenZkWriteCommand
on theprevState
.ClusterState
ZkStateWriter. writePendingUpdates(Map<String,ZkWriteCommand> updates)
Writes all pending updates to ZooKeeper and returns the modified cluster state
-