Class EndpointConnectionFailedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.endpoint.EndpointConnectionFailedEvent
-
- All Implemented Interfaces:
Event
public class EndpointConnectionFailedEvent extends AbstractEvent
This event is published when an endpoint connect attempt failed.- 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 EndpointConnectionFailedEvent(Event.Severity severity, Duration duration, EndpointContext context, long attempt, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
attempt()
Throwable
cause()
If present, holds the cause for this event.String
description()
A textual description with more information about the event.
-
-
-
Constructor Detail
-
EndpointConnectionFailedEvent
public EndpointConnectionFailedEvent(Event.Severity severity, Duration duration, EndpointContext context, long attempt, Throwable cause)
-
-