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 TypeClassDescriptionclassclassNIOServerCnxnFactory implements a multi-threaded ServerCnxnFactory using NIO non-blocking socket calls.Fields in org.apache.zookeeper.server declared as ServerCnxnFactoryModifier and TypeFieldDescriptionprotected ServerCnxnFactoryZooKeeperServer.secureServerCnxnFactoryprotected ServerCnxnFactoryZooKeeperServer.serverCnxnFactoryMethods in org.apache.zookeeper.server that return ServerCnxnFactoryModifier and TypeMethodDescriptionstatic ServerCnxnFactoryServerCnxnFactory.createFactory()static ServerCnxnFactoryServerCnxnFactory.createFactory(int clientPort, int maxClientCnxns) static ServerCnxnFactoryServerCnxnFactory.createFactory(int clientPort, int maxClientCnxns, int backlog) static ServerCnxnFactoryServerCnxnFactory.createFactory(InetSocketAddress addr, int maxClientCnxns) static ServerCnxnFactoryServerCnxnFactory.createFactory(InetSocketAddress addr, int maxClientCnxns, int backlog) ZooKeeperServer.getSecureServerCnxnFactory()ZooKeeperServer.getServerCnxnFactory()Methods in org.apache.zookeeper.server with parameters of type ServerCnxnFactoryModifier and TypeMethodDescriptionstatic intServerCnxnHelper.getMaxCnxns(ServerCnxnFactory secureServerCnxnFactory, ServerCnxnFactory serverCnxnFactory) gets maximum number of connections in ZooKeepervoidZooKeeperServer.setSecureServerCnxnFactory(ServerCnxnFactory factory) voidZooKeeperServer.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 TypeMethodDescriptionbooleanCommandExecutor.execute(ServerCnxn serverCnxn, PrintWriter pwriter, int commandCode, ZooKeeperServer zkServer, ServerCnxnFactory factory) This class decides which command to be executed and then executesvoidAbstractFourLetterCommand.setFactory(ServerCnxnFactory factory) -
Uses of ServerCnxnFactory in org.apache.zookeeper.server.controller
Subclasses of ServerCnxnFactory in org.apache.zookeeper.server.controllerModifier and TypeClassDescriptionclassExtension of NIOServerCnxnFactory which can inject changes per controller commands.Methods in org.apache.zookeeper.server.controller that return ServerCnxnFactoryModifier and TypeMethodDescriptionprotected ServerCnxnFactoryZooKeeperServerController.getCnxnFactory() -
Uses of ServerCnxnFactory in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type ServerCnxnFactoryModifier and TypeMethodDescriptionvoidQuorumPeer.setCnxnFactory(ServerCnxnFactory cnxnFactory) voidQuorumPeer.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.