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,
java.nio.channels.SocketChannel sock,
java.nio.channels.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(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,
NIOServerCnxn.Factory 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,
NIOServerCnxn.Factory cnxnFactory,
QuorumVerifier quorumConfig) |
Copyright © 2012 The Apache Software Foundation