Class ChannelClosedProactivelyEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.ChannelClosedProactivelyEvent
- All Implemented Interfaces:
Event
This warning indicates that the client closed an active IO channel/socket proactively because
it detected an invalid state.
This situation may or may not clear itself up depending on the cause, but these kinds of errors need to be investigated because normally they should not occur.
- Since:
- 2.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Specifies the reasons why a channel has been proactively closed by the SDK.Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
Field Summary
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
Constructor Summary
ConstructorDescriptionChannelClosedProactivelyEvent
(IoContext context, ChannelClosedProactivelyEvent.Reason reason) -
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.reason()
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
ChannelClosedProactivelyEvent
public ChannelClosedProactivelyEvent(IoContext context, ChannelClosedProactivelyEvent.Reason reason)
-
-
Method Details
-
reason
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-