Class UnexpectedEndpointDisconnectedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.endpoint.UnexpectedEndpointDisconnectedEvent
-
- All Implemented Interfaces:
Event
public class UnexpectedEndpointDisconnectedEvent extends AbstractEvent
This event is usually raised if the server closes the socket and the client didn't expect it.
-
-
Nested Class Summary
-
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 UnexpectedEndpointDisconnectedEvent(EndpointContext context, int outstandingBeforeInactive, long connectedForNs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Context
context()
The context this event is referencing.String
description()
A textual description with more information about the event.-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, created, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
UnexpectedEndpointDisconnectedEvent
public UnexpectedEndpointDisconnectedEvent(EndpointContext context, int outstandingBeforeInactive, long connectedForNs)
-
-