public static enum ServerCnxn.DisconnectReason extends Enum<ServerCnxn.DisconnectReason>
Modifier and Type | Method and Description |
---|---|
String |
toDisconnectReasonString() |
static ServerCnxn.DisconnectReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerCnxn.DisconnectReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerCnxn.DisconnectReason UNKNOWN
public static final ServerCnxn.DisconnectReason SERVER_SHUTDOWN
public static final ServerCnxn.DisconnectReason CLOSE_ALL_CONNECTIONS_FORCED
public static final ServerCnxn.DisconnectReason CONNECTION_CLOSE_FORCED
public static final ServerCnxn.DisconnectReason CONNECTION_EXPIRED
public static final ServerCnxn.DisconnectReason CLIENT_CLOSED_CONNECTION
public static final ServerCnxn.DisconnectReason CLIENT_CLOSED_SESSION
public static final ServerCnxn.DisconnectReason UNABLE_TO_READ_FROM_CLIENT
public static final ServerCnxn.DisconnectReason NOT_READ_ONLY_CLIENT
public static final ServerCnxn.DisconnectReason CLIENT_ZXID_AHEAD
public static final ServerCnxn.DisconnectReason INFO_PROBE
public static final ServerCnxn.DisconnectReason CLIENT_RECONNECT
public static final ServerCnxn.DisconnectReason CANCELLED_KEY_EXCEPTION
public static final ServerCnxn.DisconnectReason IO_EXCEPTION
public static final ServerCnxn.DisconnectReason IO_EXCEPTION_IN_SESSION_INIT
public static final ServerCnxn.DisconnectReason BUFFER_UNDERFLOW_EXCEPTION
public static final ServerCnxn.DisconnectReason SASL_AUTH_FAILURE
public static final ServerCnxn.DisconnectReason RESET_COMMAND
public static final ServerCnxn.DisconnectReason CLOSE_CONNECTION_COMMAND
public static final ServerCnxn.DisconnectReason CLEAN_UP
public static final ServerCnxn.DisconnectReason CONNECTION_MODE_CHANGED
public static final ServerCnxn.DisconnectReason RENEW_GLOBAL_SESSION_IN_RO_MODE
public static final ServerCnxn.DisconnectReason CHANNEL_DISCONNECTED
public static final ServerCnxn.DisconnectReason CHANNEL_CLOSED_EXCEPTION
public static final ServerCnxn.DisconnectReason AUTH_PROVIDER_NOT_FOUND
public static final ServerCnxn.DisconnectReason FAILED_HANDSHAKE
public static final ServerCnxn.DisconnectReason CLIENT_RATE_LIMIT
public static final ServerCnxn.DisconnectReason CLIENT_CNX_LIMIT
public static ServerCnxn.DisconnectReason[] values()
for (ServerCnxn.DisconnectReason c : ServerCnxn.DisconnectReason.values()) System.out.println(c);
public static ServerCnxn.DisconnectReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toDisconnectReasonString()
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.