Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.quorum |
Modifier and Type | Class and Description |
---|---|
class |
NettyServerCnxnFactory |
class |
NIOServerCnxnFactory |
Modifier and Type | Method and Description |
---|---|
static ServerCnxnFactory |
ServerCnxnFactory.createFactory() |
static ServerCnxnFactory |
ServerCnxnFactory.createFactory(java.net.InetSocketAddress addr,
int maxClientCnxns) |
static ServerCnxnFactory |
ServerCnxnFactory.createFactory(int clientPort,
int maxClientCnxns) |
ServerCnxnFactory |
ZooKeeperServer.getServerCnxnFactory() |
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperServer.setServerCnxnFactory(ServerCnxnFactory factory) |
Modifier and Type | Method and Description |
---|---|
ServerCnxnFactory |
QuorumPeer.getCnxnFactory() |
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setCnxnFactory(ServerCnxnFactory cnxnFactory) |
Constructor and Description |
---|
QuorumPeer(java.util.Map<java.lang.Long,QuorumPeer.QuorumServer> quorumPeers,
java.io.File dataDir,
java.io.File dataLogDir,
int electionType,
long myid,
int tickTime,
int initLimit,
int syncLimit,
ServerCnxnFactory cnxnFactory)
For backward compatibility purposes, we instantiate QuorumMaj by default.
|
QuorumPeer(java.util.Map<java.lang.Long,QuorumPeer.QuorumServer> quorumPeers,
java.io.File dataDir,
java.io.File dataLogDir,
int electionType,
long myid,
int tickTime,
int initLimit,
int syncLimit,
ServerCnxnFactory cnxnFactory,
QuorumVerifier quorumConfig) |
Copyright © 2024 The Apache Software Foundation