Uses of Class
org.apache.zookeeper.server.ServerCnxnFactory
-
Packages that use ServerCnxnFactory Package Description org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.command org.apache.zookeeper.server.controller org.apache.zookeeper.server.quorum -
-
Uses of ServerCnxnFactory in org.apache.zookeeper.server
Subclasses of ServerCnxnFactory in org.apache.zookeeper.server Modifier and Type Class Description classNettyServerCnxnFactoryclassNIOServerCnxnFactoryNIOServerCnxnFactory implements a multi-threaded ServerCnxnFactory using NIO non-blocking socket calls.Fields in org.apache.zookeeper.server declared as ServerCnxnFactory Modifier and Type Field Description protected ServerCnxnFactoryZooKeeperServer. secureServerCnxnFactoryprotected ServerCnxnFactoryZooKeeperServer. serverCnxnFactoryMethods in org.apache.zookeeper.server that return ServerCnxnFactory Modifier and Type Method Description static 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)ServerCnxnFactoryZooKeeperServer. getSecureServerCnxnFactory()ServerCnxnFactoryZooKeeperServer. getServerCnxnFactory()Methods in org.apache.zookeeper.server with parameters of type ServerCnxnFactory Modifier and Type Method Description static 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 ServerCnxnFactory Modifier and Type Field Description protected ServerCnxnFactoryAbstractFourLetterCommand. factoryMethods in org.apache.zookeeper.server.command with parameters of type ServerCnxnFactory Modifier and Type Method Description booleanCommandExecutor. 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.controller Modifier and Type Class Description classControllableConnectionFactoryExtension of NIOServerCnxnFactory which can inject changes per controller commands.Methods in org.apache.zookeeper.server.controller that return ServerCnxnFactory Modifier and Type Method Description protected ServerCnxnFactoryZooKeeperServerController. getCnxnFactory() -
Uses of ServerCnxnFactory in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type ServerCnxnFactory Modifier and Type Method Description voidQuorumPeer. setCnxnFactory(ServerCnxnFactory cnxnFactory)voidQuorumPeer. setSecureCnxnFactory(ServerCnxnFactory secureCnxnFactory)Constructors in org.apache.zookeeper.server.quorum with parameters of type ServerCnxnFactory Constructor Description QuorumPeer(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.
-