| Package | Description | 
|---|---|
| org.apache.solr.common.cloud | Common Solr Cloud and ZooKeeper related classes reused on both clients & server. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PerReplicaStatesOps | PerReplicaStatesOps. addReplica(String replica,
          Replica.State state,
          boolean isLeader,
          PerReplicaStates rs) | 
| 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 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 | 
| static PerReplicaStatesOps | PerReplicaStatesOps. modifyCollection(DocCollection coll,
                boolean enable,
                PerReplicaStates rs)Switch a collection from/to perReplicaState=true | 
| static PerReplicaStatesOps | PerReplicaStatesOps. touchChildren()Just creates and deletes a dummy entry so that the  Stat.getCversion()of states.json
 is updated | 
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.