Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
ZooKeeperServer is designed to work in standalone mode and also
be extensible so that it can be used to implement the quorum based
version of ZooKeeper.
|
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(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(Map<Long,QuorumPeer.QuorumServer> quorumPeers,
File dataDir,
File dataLogDir,
int electionType,
long myid,
int tickTime,
int initLimit,
int syncLimit,
ServerCnxnFactory 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,
ServerCnxnFactory cnxnFactory,
QuorumVerifier quorumConfig) |
Copyright © 2017 The Apache Software Foundation