Uses of Class
org.apache.zookeeper.server.ServerCnxn
-
Packages that use ServerCnxn Package Description org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.auth org.apache.zookeeper.server.command org.apache.zookeeper.server.controller org.apache.zookeeper.server.quorum -
-
Uses of ServerCnxn in org.apache.zookeeper.server
Subclasses of ServerCnxn in org.apache.zookeeper.server Modifier and Type Class Description classDumbWatcherA empty watcher implementation used in bench and unit test.classNettyServerCnxnclassNIOServerCnxnThis class handles communication with clients using NIO.Fields in org.apache.zookeeper.server declared as ServerCnxn Modifier and Type Field Description ServerCnxnRequest. cnxnFields in org.apache.zookeeper.server with type parameters of type ServerCnxn Modifier and Type Field Description protected Set<ServerCnxn>ServerCnxnFactory. cnxnsMethods in org.apache.zookeeper.server that return ServerCnxn Modifier and Type Method Description ServerCnxnRequest. getConnection()Methods in org.apache.zookeeper.server that return types with arguments of type ServerCnxn Modifier and Type Method Description Iterable<ServerCnxn>NettyServerCnxnFactory. getConnections()Iterable<ServerCnxn>NIOServerCnxnFactory. getConnections()abstract Iterable<ServerCnxn>ServerCnxnFactory. getConnections()Methods in org.apache.zookeeper.server with parameters of type ServerCnxn Modifier and Type Method Description voidServerCnxnFactory. 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)StatZKDatabase. 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 ServerCnxn Constructor Description ConnectionBean(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 ServerCnxn Modifier and Type Method Description ServerCnxnServerAuthenticationProvider.ServerObjs. getCnxn()Methods in org.apache.zookeeper.server.auth with parameters of type ServerCnxn Modifier and Type Method Description KeeperException.CodeAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)This method is called when a client passes authentication data for this scheme.KeeperException.CodeDigestAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)KeeperException.CodeEnsembleAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)KeeperException.CodeIPAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)KeeperException.CodeSASLAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)KeeperException.CodeServerAuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)KeeperException.CodeX509AuthenticationProvider. handleAuthentication(ServerCnxn cnxn, byte[] authData)Constructors in org.apache.zookeeper.server.auth with parameters of type ServerCnxn Constructor Description ServerObjs(ZooKeeperServer zks, ServerCnxn cnxn) -
Uses of ServerCnxn in org.apache.zookeeper.server.command
Fields in org.apache.zookeeper.server.command declared as ServerCnxn Modifier and Type Field Description protected ServerCnxnAbstractFourLetterCommand. serverCnxnMethods in org.apache.zookeeper.server.command with parameters of type ServerCnxn 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 executesConstructors in org.apache.zookeeper.server.command with parameters of type ServerCnxn Constructor Description AbstractFourLetterCommand(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.controller Modifier and Type Class Description classControllableConnectionExtension 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 ServerCnxn Modifier and Type Method Description protected voidLeaderZooKeeperServer. revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout)protected voidLearnerZooKeeperServer. revalidateSession(ServerCnxn cnxn, long sessionId, int sessionTimeout)protected voidReadOnlyZooKeeperServer. validateSession(ServerCnxn cnxn, long sessionId)
-