Uses of Class
org.apache.zookeeper.server.ServerCnxn
Packages that use ServerCnxn
Package
Description
ZooKeeper server theory of operation
-
Uses of ServerCnxn in org.apache.zookeeper.server
Subclasses of ServerCnxn in org.apache.zookeeper.serverModifier and TypeClassDescriptionclassA empty watcher implementation used in bench and unit test.classclassThis class handles communication with clients using NIO.Fields in org.apache.zookeeper.server declared as ServerCnxnFields in org.apache.zookeeper.server with type parameters of type ServerCnxnMethods in org.apache.zookeeper.server that return ServerCnxnMethods in org.apache.zookeeper.server that return types with arguments of type ServerCnxnModifier and TypeMethodDescriptionNettyServerCnxnFactory.getConnections()NIOServerCnxnFactory.getConnections()abstract Iterable<ServerCnxn>ServerCnxnFactory.getConnections()Methods in org.apache.zookeeper.server with parameters of type ServerCnxnModifier and TypeMethodDescriptionvoidServerCnxnFactory.addSession(long sessionId, ServerCnxn cnxn) voidZooKeeperServer.checkACL(ServerCnxn cnxn, List<ACL> acl, int perm, List<Id> ids, String path, List<ACL> setAcls) Grant or deny authorization to an operation on a node as a function of:voidZooKeeperServer.closeSession(ServerCnxn cnxn, RequestHeader requestHeader) booleanAuthenticationHelper.enforceAuthentication(ServerCnxn connection, int xid) Returns true when authentication enforcement was success otherwise returns false also closes the connectionvoidZooKeeperServer.finishSessionInit(ServerCnxn cnxn, boolean valid) voidZooKeeperServer.processConnectRequest(ServerCnxn cnxn, ConnectRequest request) voidZooKeeperServer.processPacket(ServerCnxn cnxn, RequestHeader h, RequestRecord request) voidServerCnxnFactory.registerConnection(ServerCnxn serverCnxn) voidZKDatabase.removeCnxn(ServerCnxn cnxn) remove a cnxn from the datatreevoidServerCnxnFactory.removeCnxnFromSessionMap(ServerCnxn cnxn) voidZooKeeperServer.reopenSession(ServerCnxn cnxn, long sessionId, byte[] passwd, int sessionTimeout) protected voidZooKeeperServer.revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout) ZKDatabase.statNode(String path, ServerCnxn serverCnxn) stat the pathvoidServerCnxnFactory.unregisterConnection(ServerCnxn serverCnxn) protected voidZooKeeperServer.validateSession(ServerCnxn cnxn, long sessionId) Validate if a particular session can be reestablished.Constructors in org.apache.zookeeper.server with parameters of type ServerCnxnModifierConstructorDescriptionConnectionBean(ServerCnxn connection, ZooKeeperServer zk) Request(ServerCnxn cnxn, long sessionId, int xid, int type, RequestRecord request, List<Id> authInfo) -
Uses of ServerCnxn in org.apache.zookeeper.server.auth
Methods in org.apache.zookeeper.server.auth that return ServerCnxnMethods in org.apache.zookeeper.server.auth with parameters of type ServerCnxnModifier and TypeMethodDescriptionAuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) This method is called when a client passes authentication data for this scheme.DigestAuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) EnsembleAuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) IPAuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) SASLAuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) final KeeperException.CodeServerAuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) X509AuthenticationProvider.handleAuthentication(ServerCnxn cnxn, byte[] authData) Constructors in org.apache.zookeeper.server.auth with parameters of type ServerCnxn -
Uses of ServerCnxn in org.apache.zookeeper.server.command
Fields in org.apache.zookeeper.server.command declared as ServerCnxnMethods in org.apache.zookeeper.server.command with parameters of type ServerCnxnModifier and TypeMethodDescriptionbooleanCommandExecutor.execute(ServerCnxn serverCnxn, PrintWriter pwriter, int commandCode, ZooKeeperServer zkServer, ServerCnxnFactory factory) This class decides which command to be executed and then executesConstructors in org.apache.zookeeper.server.command with parameters of type ServerCnxnModifierConstructorDescriptionAbstractFourLetterCommand(PrintWriter pw, ServerCnxn serverCnxn) CnxnStatResetCommand(PrintWriter pw, ServerCnxn serverCnxn) ConsCommand(PrintWriter pw, ServerCnxn serverCnxn) DigestCommand(PrintWriter pw, ServerCnxn serverCnxn) DirsCommand(PrintWriter pw, ServerCnxn serverCnxn) DumpCommand(PrintWriter pw, ServerCnxn serverCnxn) IsroCommand(PrintWriter pw, ServerCnxn serverCnxn) NopCommand(PrintWriter pw, ServerCnxn serverCnxn, String msg) RuokCommand(PrintWriter pw, ServerCnxn serverCnxn) SetTraceMaskCommand(PrintWriter pw, ServerCnxn serverCnxn, long trace) StatCommand(PrintWriter pw, ServerCnxn serverCnxn, int len) StatResetCommand(PrintWriter pw, ServerCnxn serverCnxn) WatchCommand(PrintWriter pw, ServerCnxn serverCnxn, int len) -
Uses of ServerCnxn in org.apache.zookeeper.server.controller
Subclasses of ServerCnxn in org.apache.zookeeper.server.controllerModifier and TypeClassDescriptionclassExtension of NIOServerCnxn which can inject changes per controller commands. -
Uses of ServerCnxn in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type ServerCnxnModifier and TypeMethodDescriptionprotected voidLeaderZooKeeperServer.revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout) protected voidLearnerZooKeeperServer.revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout) protected voidReadOnlyZooKeeperServer.validateSession(ServerCnxn cnxn, long sessionId)