Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field and Description |
---|---|
protected QuorumPeer.LearnerType |
QuorumPeerConfig.peerType |
QuorumPeer.LearnerType |
QuorumPeer.QuorumServer.type |
Modifier and Type | Method and Description |
---|---|
QuorumPeer.LearnerType |
QuorumPeer.getLearnerType() |
QuorumPeer.LearnerType |
LearnerHandler.getLearnerType() |
QuorumPeer.LearnerType |
QuorumPeerConfig.getPeerType() |
static QuorumPeer.LearnerType |
QuorumPeer.LearnerType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuorumPeer.LearnerType[] |
QuorumPeer.LearnerType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setLearnerType(QuorumPeer.LearnerType p)
Sets the LearnerType both in the QuorumPeer and in the peerMap
|
Constructor and Description |
---|
QuorumPeer.QuorumServer(long id,
java.net.InetSocketAddress addr,
java.net.InetSocketAddress electionAddr,
QuorumPeer.LearnerType type) |
Copyright © 2017 The Apache Software Foundation