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 PerReplicaStates
DistribStateManager. 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 PerReplicaStates
ZkDistribStateManager. 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 PerReplicaStates
PerReplicaStates. fetch(String path, SolrZkClient zkClient, PerReplicaStates current)
Fetch the latestPerReplicaStates
.PerReplicaStates
DocCollection. getPerReplicaStates()
PerReplicaStates
PerReplicaStatesOps. getPerReplicaStates()
Methods in org.apache.solr.common.cloud with parameters of type PerReplicaStates Modifier and Type Method Description static PerReplicaStatesOps
PerReplicaStatesOps. addReplica(String replica, Replica.State state, boolean isLeader, PerReplicaStates rs)
DocCollection
DocCollection. copyWith(PerReplicaStates newPerReplicaStates)
Update our state with a state of aReplica
Used to create a new Collection State when only a replica is updatedstatic PerReplicaStatesOps
PerReplicaStatesOps. deleteReplica(String replica, PerReplicaStates rs)
Delete a replica entry from per-replica statesstatic PerReplicaStatesOps
PerReplicaStatesOps. downReplicas(List<String> replicas, PerReplicaStates rs)
Mark the given replicas as DOWNstatic PerReplicaStates
PerReplicaStates. fetch(String path, SolrZkClient zkClient, PerReplicaStates current)
Fetch the latestPerReplicaStates
.static Set<String>
PerReplicaStates. findModifiedReplicas(PerReplicaStates old, PerReplicaStates fresh)
Get the changed replicasstatic PerReplicaStatesOps
PerReplicaStatesOps. flipLeader(Set<String> allReplicas, String next, PerReplicaStates rs)
Flip the leader replica to a new onestatic PerReplicaStatesOps
PerReplicaStatesOps. flipState(String replica, Replica.State newState, PerReplicaStates rs)
Change the state of a replicaList<PerReplicaStates.Operation>
PerReplicaStatesOps. get(PerReplicaStates rs)
static PerReplicaStatesOps
PerReplicaStatesOps. 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 void
ClusterState. initReplicaStateProvider(Supplier<PerReplicaStates> replicaStatesSupplier)
-