Class EndpointConnectionFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.endpoint.EndpointConnectionFailedEvent
- All Implemented Interfaces:
Event
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
ConstructorDescriptionEndpointConnectionFailedEvent
(Event.Severity severity, Duration duration, EndpointContext context, long attempt, Throwable cause) -
Method Summary
-
Constructor Details
-
EndpointConnectionFailedEvent
public EndpointConnectionFailedEvent(Event.Severity severity, Duration duration, EndpointContext context, long attempt, Throwable cause)
-
-
Method Details
-
attempt
public long attempt() -
cause
Description copied from interface:Event
If present, holds the cause for this event. Usually present if raised because of an excetion.- Returns:
- the throwable if present.
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-