Uses of Class org.apache.zookeeper.server.ServerCnxn.DisconnectReason (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

## Uses of Class
org.apache.zookeeper.server.ServerCnxn.DisconnectReason

- Packages that use ServerCnxn.DisconnectReason
  Package | Description
  --- | ---
  org.apache.zookeeper.server | ZooKeeper server theory of operation

- - ### Uses of ServerCnxn.DisconnectReason in org.apache.zookeeper.server

    Fields in org.apache.zookeeper.server declared as ServerCnxn.DisconnectReason
    Modifier and Type | Field and Description
    --- | ---
    `protected ServerCnxn.DisconnectReason` | ServerCnxn.`disconnectReason`

    Methods in org.apache.zookeeper.server that return 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.

    Methods in org.apache.zookeeper.server with parameters of type ServerCnxn.DisconnectReason
    Modifier and Type | Method and Description
    --- | ---
    `void` | DumbWatcher.`close(ServerCnxn.DisconnectReason reason)`
    `void` | NIOServerCnxn.`close(ServerCnxn.DisconnectReason reason)` Close the cnxn and remove it from the factory cnxns list.
    `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` | NIOServerCnxnFactory.`closeAll(ServerCnxn.DisconnectReason reason)` clear all the connections in the selector
    `void` | NettyServerCnxnFactory.`closeAll(ServerCnxn.DisconnectReason reason)`
    `abstract void` | ServerCnxnFactory.`closeAll(ServerCnxn.DisconnectReason reason)`
    `boolean` | ServerCnxnFactory.`closeSession(long sessionId, ServerCnxn.DisconnectReason reason)`

    Constructors in org.apache.zookeeper.server with parameters of type ServerCnxn.DisconnectReason
    Constructor and Description
    `CloseRequestException(String msg, ServerCnxn.DisconnectReason reason)`
    `EndOfStreamException(String msg, ServerCnxn.DisconnectReason reason)`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.