| Package | Description |
|---|---|
| org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
| org.apache.zookeeper.server.quorum |
| Modifier and Type | Class | Description |
|---|---|---|
class |
NettyServerCnxnFactory |
|
class |
NIOServerCnxnFactory |
| Modifier and Type | Method | Description |
|---|---|---|
static ServerCnxnFactory |
ServerCnxnFactory.createFactory() |
|
static ServerCnxnFactory |
ServerCnxnFactory.createFactory(int clientPort,
int maxClientCnxns) |
|
static ServerCnxnFactory |
ServerCnxnFactory.createFactory(java.net.InetSocketAddress addr,
int maxClientCnxns) |
|
ServerCnxnFactory |
ZooKeeperServer.getServerCnxnFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ZooKeeperServer.setServerCnxnFactory(ServerCnxnFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
ServerCnxnFactory |
QuorumPeer.getCnxnFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
QuorumPeer.setCnxnFactory(ServerCnxnFactory cnxnFactory) |
| Constructor | 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,
boolean quorumListenOnAllIPs,
ServerCnxnFactory cnxnFactory,
QuorumVerifier quorumConfig) |
|
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.
|
Copyright © 2018 The Apache Software Foundation