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
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
Constructor Details
-
EndpointConnectionAbortedEvent
public EndpointConnectionAbortedEvent(Duration duration, EndpointContext context, SortedMap<String,Duration> timings)
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
timings
Returns the timings captured as part of the endpoint connection process.- Returns:
- the connect timings if present.
-