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(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
|
Constructor and Description |
---|
QuorumServer(long id,
InetSocketAddress addr,
InetSocketAddress electionAddr,
InetSocketAddress clientAddr,
QuorumPeer.LearnerType type) |
QuorumServer(long id,
InetSocketAddress addr,
InetSocketAddress electionAddr,
QuorumPeer.LearnerType type) |
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.