Class ChannelClosedProactivelyEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.io.ChannelClosedProactivelyEvent
-
- All Implemented Interfaces:
Event
public class ChannelClosedProactivelyEvent extends AbstractEvent
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
Nested Classes Modifier and Type Class Description static class
ChannelClosedProactivelyEvent.Reason
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
Constructors Constructor Description ChannelClosedProactivelyEvent(IoContext context, ChannelClosedProactivelyEvent.Reason reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
A textual description with more information about the event.ChannelClosedProactivelyEvent.Reason
reason()
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
ChannelClosedProactivelyEvent
public ChannelClosedProactivelyEvent(IoContext context, ChannelClosedProactivelyEvent.Reason reason)
-
-
Method Detail
-
reason
public ChannelClosedProactivelyEvent.Reason reason()
-
-