Class EndpointConnectionAbortedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.endpoint.EndpointConnectionAbortedEvent
- All Implemented Interfaces:
Event
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
ConstructorDescriptionEndpointConnectionAbortedEvent
(Duration duration, EndpointContext context, SortedMap<String, Duration> timings) -
Method Summary
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, 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.
-