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 TypeClassDescriptionclass
A empty watcher implementation used in bench and unit test.class
class
This 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 TypeMethodDescriptionvoid
ServerCnxnFactory.addSession
(long sessionId, ServerCnxn cnxn) void
ZooKeeperServer.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:void
ZooKeeperServer.closeSession
(ServerCnxn cnxn, RequestHeader requestHeader) boolean
AuthenticationHelper.enforceAuthentication
(ServerCnxn connection, int xid) Returns true when authentication enforcement was success otherwise returns false also closes the connectionvoid
ZooKeeperServer.finishSessionInit
(ServerCnxn cnxn, boolean valid) void
ZooKeeperServer.processConnectRequest
(ServerCnxn cnxn, ByteBuffer incomingBuffer) void
ZooKeeperServer.processPacket
(ServerCnxn cnxn, ByteBuffer incomingBuffer) void
ServerCnxnFactory.registerConnection
(ServerCnxn serverCnxn) void
ZKDatabase.removeCnxn
(ServerCnxn cnxn) remove a cnxn from the datatreevoid
ServerCnxnFactory.removeCnxnFromSessionMap
(ServerCnxn cnxn) void
ZooKeeperServer.reopenSession
(ServerCnxn cnxn, long sessionId, byte[] passwd, int sessionTimeout) protected void
ZooKeeperServer.revalidateSession
(ServerCnxn cnxn, long sessionId, int sessionTimeout) ZKDatabase.statNode
(String path, ServerCnxn serverCnxn) stat the pathvoid
ServerCnxnFactory.unregisterConnection
(ServerCnxn serverCnxn) protected void
ZooKeeperServer.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, ByteBuffer bb, 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.Code
ServerAuthenticationProvider.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 TypeMethodDescriptionboolean
CommandExecutor.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 TypeClassDescriptionclass
Extension 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 void
LeaderZooKeeperServer.revalidateSession
(ServerCnxn cnxn, long sessionId, int sessionTimeout) protected void
LearnerZooKeeperServer.revalidateSession
(ServerCnxn cnxn, long sessionId, int sessionTimeout) protected void
ReadOnlyZooKeeperServer.validateSession
(ServerCnxn cnxn, long sessionId)