public interface QuorumVerifier
Modifier and Type | Method and Description |
---|---|
boolean |
containsQuorum(Set<Long> set) |
boolean |
equals(Object o) |
Map<Long,QuorumPeer.QuorumServer> |
getAllMembers() |
Map<Long,QuorumPeer.QuorumServer> |
getObservingMembers() |
long |
getVersion() |
Map<Long,QuorumPeer.QuorumServer> |
getVotingMembers() |
long |
getWeight(long id) |
void |
setVersion(long ver) |
String |
toString() |
long getWeight(long id)
long getVersion()
void setVersion(long ver)
Map<Long,QuorumPeer.QuorumServer> getAllMembers()
Map<Long,QuorumPeer.QuorumServer> getVotingMembers()
Map<Long,QuorumPeer.QuorumServer> getObservingMembers()
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.