Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
Modifier and Type | Field and Description |
---|---|
protected ServerCnxn.DisconnectReason |
ServerCnxn.disconnectReason |
Modifier and Type | Method and Description |
---|---|
ServerCnxn.DisconnectReason |
ServerCnxn.CloseRequestException.getReason() |
ServerCnxn.DisconnectReason |
ServerCnxn.EndOfStreamException.getReason() |
static ServerCnxn.DisconnectReason |
ServerCnxn.DisconnectReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerCnxn.DisconnectReason[] |
ServerCnxn.DisconnectReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
NIOServerCnxn.close(ServerCnxn.DisconnectReason reason)
Close the cnxn and remove it from the factory cnxns list.
|
void |
DumbWatcher.close(ServerCnxn.DisconnectReason reason) |
void |
NettyServerCnxn.close(ServerCnxn.DisconnectReason reason)
Close the cnxn and remove it from the factory cnxns list.
|
abstract void |
ServerCnxn.close(ServerCnxn.DisconnectReason reason) |
void |
NettyServerCnxnFactory.closeAll(ServerCnxn.DisconnectReason reason) |
abstract void |
ServerCnxnFactory.closeAll(ServerCnxn.DisconnectReason reason) |
void |
NIOServerCnxnFactory.closeAll(ServerCnxn.DisconnectReason reason)
clear all the connections in the selector
|
boolean |
ServerCnxnFactory.closeSession(long sessionId,
ServerCnxn.DisconnectReason reason) |
Constructor and Description |
---|
CloseRequestException(String msg,
ServerCnxn.DisconnectReason reason) |
EndOfStreamException(String msg,
ServerCnxn.DisconnectReason reason) |
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.