Uses of Class
org.apache.solr.common.cloud.PerReplicaStates
-
Packages that use PerReplicaStates Package Description org.apache.solr.client.solrj.cloud Common classes for SolrCloud.org.apache.solr.client.solrj.impl Concrete implementations of client API classes.org.apache.solr.common.cloud Common Solr Cloud and ZooKeeper related classes reused on both clients & server. -
-
Uses of PerReplicaStates in org.apache.solr.client.solrj.cloud
Methods in org.apache.solr.client.solrj.cloud that return PerReplicaStates Modifier and Type Method Description default PerReplicaStatesDistribStateManager. getReplicaStates(String path) -
Uses of PerReplicaStates in org.apache.solr.client.solrj.impl
Methods in org.apache.solr.client.solrj.impl that return PerReplicaStates Modifier and Type Method Description PerReplicaStatesZkDistribStateManager. getReplicaStates(String path) -
Uses of PerReplicaStates in org.apache.solr.common.cloud
Methods in org.apache.solr.common.cloud that return PerReplicaStates Modifier and Type Method Description static PerReplicaStatesPerReplicaStates. fetch(String path, SolrZkClient zkClient, PerReplicaStates current)Fetch the latestPerReplicaStates.PerReplicaStatesDocCollection. getPerReplicaStates()PerReplicaStatesPerReplicaStatesOps. getPerReplicaStates()Methods in org.apache.solr.common.cloud with parameters of type PerReplicaStates Modifier and Type Method Description static PerReplicaStatesOpsPerReplicaStatesOps. addReplica(String replica, Replica.State state, boolean isLeader, PerReplicaStates rs)DocCollectionDocCollection. copyWith(PerReplicaStates newPerReplicaStates)Update our state with a state of aReplicaUsed to create a new Collection State when only a replica is updatedstatic PerReplicaStatesOpsPerReplicaStatesOps. deleteReplica(String replica, PerReplicaStates rs)Delete a replica entry from per-replica statesstatic PerReplicaStatesOpsPerReplicaStatesOps. downReplicas(List<String> replicas, PerReplicaStates rs)Mark the given replicas as DOWNstatic PerReplicaStatesPerReplicaStates. fetch(String path, SolrZkClient zkClient, PerReplicaStates current)Fetch the latestPerReplicaStates.static Set<String>PerReplicaStates. findModifiedReplicas(PerReplicaStates old, PerReplicaStates fresh)Get the changed replicasstatic PerReplicaStatesOpsPerReplicaStatesOps. flipLeader(Set<String> allReplicas, String next, PerReplicaStates rs)Flip the leader replica to a new onestatic PerReplicaStatesOpsPerReplicaStatesOps. flipState(String replica, Replica.State newState, PerReplicaStates rs)Change the state of a replicaList<PerReplicaStates.Operation>PerReplicaStatesOps. get(PerReplicaStates rs)static PerReplicaStatesOpsPerReplicaStatesOps. modifyCollection(DocCollection coll, boolean enable, PerReplicaStates rs)Switch a collection from/to perReplicaState=trueMethod parameters in org.apache.solr.common.cloud with type arguments of type PerReplicaStates Modifier and Type Method Description static voidClusterState. initReplicaStateProvider(Supplier<PerReplicaStates> replicaStatesSupplier)
-