Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.quorum |
Modifier and Type | Method and Description |
---|---|
NIOServerCnxn.Factory |
ZooKeeperServer.Factory.createConnectionFactory() |
NIOServerCnxn.Factory |
ZooKeeperServer.getServerCnxnFactory() |
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperServer.setServerCnxnFactory(NIOServerCnxn.Factory factory) |
Constructor and Description |
---|
NIOServerCnxn(ZooKeeperServer zk,
SocketChannel sock,
SelectionKey sk,
NIOServerCnxn.Factory factory) |
Modifier and Type | Method and Description |
---|---|
NIOServerCnxn.Factory |
QuorumPeer.Factory.createConnectionFactory() |
NIOServerCnxn.Factory |
QuorumPeer.getCnxnFactory() |
Modifier and Type | Method and Description |
---|---|
QuorumPeer |
QuorumPeer.Factory.create(NIOServerCnxn.Factory cnxnFactory) |
void |
QuorumPeer.setCnxnFactory(NIOServerCnxn.Factory cnxnFactory) |
Constructor and Description |
---|
QuorumPeer(Map<Long,QuorumPeer.QuorumServer> quorumPeers,
File dataDir,
File dataLogDir,
int electionType,
long myid,
int tickTime,
int initLimit,
int syncLimit,
NIOServerCnxn.Factory 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,
NIOServerCnxn.Factory cnxnFactory,
QuorumVerifier quorumConfig) |
Copyright © 2014 The Apache Software Foundation