Class EndpointConnectionAbortedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.endpoint.EndpointConnectionAbortedEvent
-
- All Implemented Interfaces:
Event
public class EndpointConnectionAbortedEvent extends AbstractEvent
This event is published when an endpoint is in the phase of reconnecting because of an error, but disconnect was called in the meantime and as a result any further reconnect attempts are aborted.- Since:
- 2.0.0
-
-
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 EndpointConnectionAbortedEvent(Duration duration, EndpointContext context, SortedMap<String,Duration> timings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
A textual description with more information about the event.SortedMap<String,Duration>
timings()
Returns the timings captured as part of the endpoint connection process.-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
EndpointConnectionAbortedEvent
public EndpointConnectionAbortedEvent(Duration duration, EndpointContext context, SortedMap<String,Duration> timings)
-
-