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 ZkWriteCommandDistributedClusterStateUpdater.MutatingCommand. buildWriteCommand(org.apache.solr.client.solrj.cloud.SolrCloudManager scm, org.apache.solr.common.cloud.ClusterState cs, org.apache.solr.common.cloud.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 ZkWriteCommandZkStateWriter. NO_OPRepresents a no-opZkWriteCommandwhich 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. updatesMethods in org.apache.solr.cloud.overseer that return ZkWriteCommand Modifier and Type Method Description ZkWriteCommandSliceMutator. addReplica(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandReplicaMutator. addReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandSliceMutator. addRoutingRule(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandClusterStateMutator. createCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandCollectionMutator. createShard(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandClusterStateMutator. deleteCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandReplicaMutator. deleteReplicaProperty(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandCollectionMutator. deleteShard(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandCollectionMutator. modifyCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandSliceMutator. removeReplica(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandSliceMutator. removeRoutingRule(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandSliceMutator. setShardLeader(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)ZkWriteCommandReplicaMutator. setState(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)Handles state updatesZkWriteCommandSliceMutator. updateShardState(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)protected ZkWriteCommandReplicaMutator. updateState(org.apache.solr.common.cloud.ClusterState prevState, org.apache.solr.common.cloud.ZkNodeProps message)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, org.apache.solr.common.cloud.DocCollection docCollection, org.apache.solr.common.cloud.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(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message)Methods in org.apache.solr.cloud.overseer with parameters of type ZkWriteCommand Modifier and Type Method Description org.apache.solr.common.cloud.ClusterStateZkStateWriter. writeUpdate(ZkWriteCommand command)Method parameters in org.apache.solr.cloud.overseer with type arguments of type ZkWriteCommand Modifier and Type Method Description org.apache.solr.common.cloud.ClusterStateZkStateWriter. enqueueUpdate(org.apache.solr.common.cloud.ClusterState prevState, List<ZkWriteCommand> cmds, ZkStateWriter.ZkWriteCallback callback)Applies the givenZkWriteCommandon theprevState.org.apache.solr.common.cloud.ClusterStateZkStateWriter. writePendingUpdates(Map<String,ZkWriteCommand> updates, boolean resetPendingUpdateCounters)Writes all pending updates to ZooKeeper and returns the modified cluster state
-