Class DnsSrvRefreshAttemptFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.config.DnsSrvRefreshAttemptFailedEvent
- All Implemented Interfaces:
Event
This event is raised in case a DNS SRV refresh attempt failed (see description for more details).
-
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
ConstructorDescriptionDnsSrvRefreshAttemptFailedEvent
(Duration duration, Context context, DnsSrvRefreshAttemptFailedEvent.Reason reason, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptioncause()
If present, holds the cause for this event.A textual description with more information about the event.
-
Constructor Details
-
DnsSrvRefreshAttemptFailedEvent
public DnsSrvRefreshAttemptFailedEvent(Duration duration, Context context, DnsSrvRefreshAttemptFailedEvent.Reason reason, Throwable cause)
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
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.
-