static PerReplicaStatesOps |
PerReplicaStatesOps.addReplica(String replica,
org.apache.solr.common.cloud.Replica.State state,
boolean isLeader,
org.apache.solr.common.cloud.PerReplicaStates rs) |
|
static PerReplicaStatesOps |
PerReplicaStatesOps.deleteReplica(String replica,
org.apache.solr.common.cloud.PerReplicaStates rs) |
Delete a replica entry from per-replica states
|
static PerReplicaStatesOps |
PerReplicaStatesOps.disable(org.apache.solr.common.cloud.PerReplicaStates rs) |
Switch a collection /to perReplicaState=false
|
static PerReplicaStatesOps |
PerReplicaStatesOps.downReplicas(List<String> replicas,
org.apache.solr.common.cloud.PerReplicaStates rs) |
Mark the given replicas as DOWN
|
static PerReplicaStatesOps |
PerReplicaStatesOps.enable(org.apache.solr.common.cloud.DocCollection coll,
org.apache.solr.common.cloud.PerReplicaStates rs) |
Switch a collection /to perReplicaState=true
|
static PerReplicaStatesOps |
PerReplicaStatesOps.flipLeader(Set<String> allReplicas,
String next,
org.apache.solr.common.cloud.PerReplicaStates rs) |
Flip the leader replica to a new one
|
static PerReplicaStatesOps |
PerReplicaStatesOps.flipState(String replica,
org.apache.solr.common.cloud.Replica.State newState,
org.apache.solr.common.cloud.PerReplicaStates rs) |
Change the state of a replica
|
static PerReplicaStatesOps |
PerReplicaStatesOps.touchChildren() |
Just creates and deletes a dummy entry so that the Stat.getCversion() of state.json is
updated
|