|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use QuorumPeer.QuorumServer | |
---|---|
org.apache.zookeeper.server.quorum |
Uses of QuorumPeer.QuorumServer in org.apache.zookeeper.server.quorum |
---|
Fields in org.apache.zookeeper.server.quorum with type parameters of type QuorumPeer.QuorumServer | |
---|---|
protected HashMap<Long,QuorumPeer.QuorumServer> |
QuorumPeerConfig.observers
|
protected Map<Long,QuorumPeer.QuorumServer> |
QuorumPeer.quorumPeers
The servers that make up the cluster |
protected HashMap<Long,QuorumPeer.QuorumServer> |
QuorumPeerConfig.servers
|
Methods in org.apache.zookeeper.server.quorum that return types with arguments of type QuorumPeer.QuorumServer | |
---|---|
Map<Long,QuorumPeer.QuorumServer> |
QuorumPeer.getObservingView()
Returns only observers, no followers. |
Map<Long,QuorumPeer.QuorumServer> |
QuorumPeerConfig.getServers()
|
Map<Long,QuorumPeer.QuorumServer> |
QuorumPeer.getView()
A 'view' is a node's current opinion of the membership of the entire ensemble. |
Map<Long,QuorumPeer.QuorumServer> |
QuorumPeer.getVotingView()
Observers are not contained in this view, only nodes with PeerType=PARTICIPANT. |
Method parameters in org.apache.zookeeper.server.quorum with type arguments of type QuorumPeer.QuorumServer | |
---|---|
protected static int |
QuorumPeer.countParticipants(Map<Long,QuorumPeer.QuorumServer> peers)
Count the number of nodes in the map that could be followers. |
void |
QuorumPeer.setQuorumPeers(Map<Long,QuorumPeer.QuorumServer> quorumPeers)
|
Constructors in org.apache.zookeeper.server.quorum with parameters of type QuorumPeer.QuorumServer | |
---|---|
RemotePeerBean(QuorumPeer.QuorumServer peer)
|
Constructor parameters in org.apache.zookeeper.server.quorum with type arguments of type QuorumPeer.QuorumServer | |
---|---|
QuorumPeer(Map<Long,QuorumPeer.QuorumServer> quorumPeers,
File snapDir,
File logDir,
int clientPort,
int electionAlg,
long myid,
int tickTime,
int initLimit,
int syncLimit)
This constructor is only used by the existing unit test code. |
|
QuorumPeer(Map<Long,QuorumPeer.QuorumServer> quorumPeers,
File snapDir,
File logDir,
int clientPort,
int electionAlg,
long myid,
int tickTime,
int initLimit,
int syncLimit,
QuorumVerifier quorumConfig)
This constructor is only used by the existing unit test code. |
|
QuorumPeer(Map<Long,QuorumPeer.QuorumServer> quorumPeers,
File dataDir,
File dataLogDir,
int electionType,
long myid,
int tickTime,
int initLimit,
int syncLimit,
NIOServerCnxn.Factory cnxnFactory)
For backward compatibility purposes, we instantiate QuorumMaj by default. |
|
QuorumPeer(Map<Long,QuorumPeer.QuorumServer> quorumPeers,
File dataDir,
File dataLogDir,
int electionType,
long myid,
int tickTime,
int initLimit,
int syncLimit,
NIOServerCnxn.Factory cnxnFactory,
QuorumVerifier quorumConfig)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |