| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| default PerReplicaStates | DistribStateManager. getReplicaStates(String path) | 
| Modifier and Type | Method and Description | 
|---|---|
| PerReplicaStates | ZkDistribStateManager. getReplicaStates(String path) | 
| Modifier and Type | Method and Description | 
|---|---|
| static PerReplicaStates | PerReplicaStates. fetch(String path,
     SolrZkClient zkClient,
     PerReplicaStates current)Fetch the latest  PerReplicaStates. | 
| PerReplicaStates | DocCollection. getPerReplicaStates() | 
| PerReplicaStates | PerReplicaStatesOps. getPerReplicaStates() | 
| Modifier and Type | Method and 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 a  ReplicaUsed to create a new Collection State when only a replica is updated | 
| static PerReplicaStatesOps | PerReplicaStatesOps. deleteReplica(String replica,
             PerReplicaStates rs)Delete a replica entry from per-replica states | 
| static PerReplicaStatesOps | PerReplicaStatesOps. downReplicas(List<String> replicas,
            PerReplicaStates rs)mark a bunch of replicas as DOWN | 
| static PerReplicaStates | PerReplicaStates. fetch(String path,
     SolrZkClient zkClient,
     PerReplicaStates current)Fetch the latest  PerReplicaStates. | 
| static Set<String> | PerReplicaStates. findModifiedReplicas(PerReplicaStates old,
                    PerReplicaStates fresh)Get the changed replicas | 
| static PerReplicaStatesOps | PerReplicaStatesOps. flipLeader(Set<String> allReplicas,
          String next,
          PerReplicaStates rs)Flip the leader replica to a new one | 
| static PerReplicaStatesOps | PerReplicaStatesOps. flipState(String replica,
         Replica.State newState,
         PerReplicaStates rs)state of a replica is changed | 
| List<PerReplicaStates.Operation> | PerReplicaStatesOps. get(PerReplicaStates rs) | 
| static PerReplicaStatesOps | PerReplicaStatesOps. modifyCollection(DocCollection coll,
                boolean enable,
                PerReplicaStates rs)Switch a collection from/to perReplicaState=true | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | ClusterState. initReplicaStateProvider(Supplier<PerReplicaStates> replicaStatesSupplier) | 
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.