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 the given 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) |
Change the state of a replica
|
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 state.json is
updated
|