Uses of Class
org.apache.zookeeper.server.ServerCnxnFactory
Packages that use ServerCnxnFactory
Package
Description
ZooKeeper server theory of operation
-
Uses of ServerCnxnFactory in org.apache.zookeeper.server
Subclasses of ServerCnxnFactory in org.apache.zookeeper.serverModifier and TypeClassDescriptionclass
class
NIOServerCnxnFactory implements a multi-threaded ServerCnxnFactory using NIO non-blocking socket calls.Fields in org.apache.zookeeper.server declared as ServerCnxnFactoryModifier and TypeFieldDescriptionprotected ServerCnxnFactory
ZooKeeperServer.secureServerCnxnFactory
protected ServerCnxnFactory
ZooKeeperServer.serverCnxnFactory
Methods in org.apache.zookeeper.server that return ServerCnxnFactoryModifier and TypeMethodDescriptionstatic ServerCnxnFactory
ServerCnxnFactory.createFactory()
static ServerCnxnFactory
ServerCnxnFactory.createFactory
(int clientPort, int maxClientCnxns) static ServerCnxnFactory
ServerCnxnFactory.createFactory
(int clientPort, int maxClientCnxns, int backlog) static ServerCnxnFactory
ServerCnxnFactory.createFactory
(InetSocketAddress addr, int maxClientCnxns) static ServerCnxnFactory
ServerCnxnFactory.createFactory
(InetSocketAddress addr, int maxClientCnxns, int backlog) ZooKeeperServer.getSecureServerCnxnFactory()
ZooKeeperServer.getServerCnxnFactory()
Methods in org.apache.zookeeper.server with parameters of type ServerCnxnFactoryModifier and TypeMethodDescriptionstatic int
ServerCnxnHelper.getMaxCnxns
(ServerCnxnFactory secureServerCnxnFactory, ServerCnxnFactory serverCnxnFactory) gets maximum number of connections in ZooKeepervoid
ZooKeeperServer.setSecureServerCnxnFactory
(ServerCnxnFactory factory) void
ZooKeeperServer.setServerCnxnFactory
(ServerCnxnFactory factory) -
Uses of ServerCnxnFactory in org.apache.zookeeper.server.command
Fields in org.apache.zookeeper.server.command declared as ServerCnxnFactoryMethods in org.apache.zookeeper.server.command with parameters of type ServerCnxnFactoryModifier and TypeMethodDescriptionboolean
CommandExecutor.execute
(ServerCnxn serverCnxn, PrintWriter pwriter, int commandCode, ZooKeeperServer zkServer, ServerCnxnFactory factory) This class decides which command to be executed and then executesvoid
AbstractFourLetterCommand.setFactory
(ServerCnxnFactory factory) -
Uses of ServerCnxnFactory in org.apache.zookeeper.server.controller
Subclasses of ServerCnxnFactory in org.apache.zookeeper.server.controllerModifier and TypeClassDescriptionclass
Extension of NIOServerCnxnFactory which can inject changes per controller commands.Methods in org.apache.zookeeper.server.controller that return ServerCnxnFactoryModifier and TypeMethodDescriptionprotected ServerCnxnFactory
ZooKeeperServerController.getCnxnFactory()
-
Uses of ServerCnxnFactory in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type ServerCnxnFactoryModifier and TypeMethodDescriptionvoid
QuorumPeer.setCnxnFactory
(ServerCnxnFactory cnxnFactory) void
QuorumPeer.setSecureCnxnFactory
(ServerCnxnFactory secureCnxnFactory) Constructors in org.apache.zookeeper.server.quorum with parameters of type ServerCnxnFactoryModifierConstructorDescriptionQuorumPeer
(Map<Long, QuorumPeer.QuorumServer> quorumPeers, File dataDir, File dataLogDir, int electionType, long myid, int tickTime, int initLimit, int syncLimit, int connectToLearnerMasterLimit, boolean quorumListenOnAllIPs, ServerCnxnFactory cnxnFactory, QuorumVerifier quorumConfig) QuorumPeer
(Map<Long, QuorumPeer.QuorumServer> quorumPeers, File dataDir, File dataLogDir, int electionType, long myid, int tickTime, int initLimit, int syncLimit, int connectToLearnerMasterLimit, ServerCnxnFactory cnxnFactory) For backward compatibility purposes, we instantiate QuorumMaj by default.