public static enum ChannelClosedProactivelyEvent.Reason extends Enum<ChannelClosedProactivelyEvent.Reason>
Enum Constant and Description |
---|
INVALID_REQUEST_DETECTED
We detected an invalid request coming in from the upper layers.
|
INVALID_RESPONSE_FORMAT_DETECTED
Got a response format the decoder didn't expect.
|
KV_RESPONSE_CONTAINED_CLOSE_INDICATION
We got a KV response which was not successful and indicated that the socket/channel needs to be reset.
|
KV_RESPONSE_CONTAINED_UNKNOWN_OPAQUE
We got a KV response which contained an opaque value that the client has no idea about.
|
Modifier and Type | Method and Description |
---|---|
static ChannelClosedProactivelyEvent.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelClosedProactivelyEvent.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelClosedProactivelyEvent.Reason INVALID_REQUEST_DETECTED
public static final ChannelClosedProactivelyEvent.Reason KV_RESPONSE_CONTAINED_UNKNOWN_OPAQUE
public static final ChannelClosedProactivelyEvent.Reason KV_RESPONSE_CONTAINED_CLOSE_INDICATION
public static final ChannelClosedProactivelyEvent.Reason INVALID_RESPONSE_FORMAT_DETECTED
public static ChannelClosedProactivelyEvent.Reason[] values()
for (ChannelClosedProactivelyEvent.Reason c : ChannelClosedProactivelyEvent.Reason.values()) System.out.println(c);
public static ChannelClosedProactivelyEvent.Reason 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 nullCopyright © 2020 Couchbase, Inc.. All rights reserved.