public class ControllableConnection extends NIOServerCnxn
ServerCnxn.CloseRequestException, ServerCnxn.DisconnectReason, ServerCnxn.EndOfStreamExceptionWatcher.Event, Watcher.WatcherTypeincomingBuffercount, disconnectReason, established, lastCxid, lastLatency, lastOp, lastResponseTime, lastZxid, maxLatency, me, minLatency, packetsReceived, packetsSent, requestsProcessedCount, totalLatency, zooKeeperSaslServer| Constructor and Description |
|---|
ControllableConnection(ZooKeeperServer zk,
SocketChannel sock,
SelectionKey sk,
NIOServerCnxnFactory factory,
NIOServerCnxnFactory.SelectorThread selectorThread) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
readRequest() |
int |
sendResponse(ReplyHeader header,
Record record,
String tag) |
close, closeSock, disableRecv, disableSelectable, enableRecv, enableSelectable, getClientCertificateChain, getInterestOps, getRemoteSocketAddress, getSessionId, getSessionTimeout, getSocketAddress, isSecure, isSelectable, isSocketOpen, process, sendBuffer, sendCloseSession, sendResponse, serverStats, setClientCertificateChain, setSessionId, setSessionTimeout, toStringaddAuthInfo, cleanupWriterSocket, decrOutstandingAndCheckThrottle, dumpConnectionInfo, getAuthInfo, getAvgLatency, getConnectionInfo, getEstablished, getHostAddress, getLastCxid, getLastLatency, getLastOperation, getLastResponseTime, getLastZxid, getMaxLatency, getMinLatency, getOutstandingRequests, getPacketsReceived, getPacketsSent, getSessionIdHex, incrOutstandingAndCheckThrottle, incrPacketsReceived, incrPacketsSent, isInvalid, isStale, isZKServerRunning, packetReceived, packetSent, removeAuthInfo, resetStats, serialize, serializeRecord, setInvalid, setStale, updateStatsForResponsepublic ControllableConnection(ZooKeeperServer zk, SocketChannel sock, SelectionKey sk, NIOServerCnxnFactory factory, NIOServerCnxnFactory.SelectorThread selectorThread) throws IOException
IOExceptionpublic int sendResponse(ReplyHeader header, Record record, String tag)
sendResponse in class ServerCnxnprotected void readRequest()
throws IOException
readRequest in class NIOServerCnxnIOExceptionCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.