Class DnsSrvLookupFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.core.DnsSrvLookupFailedEvent
- All Implemented Interfaces:
Event
public class DnsSrvLookupFailedEvent extends AbstractEvent
The client attempted a DNS SRV lookup but it failed.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DnsSrvLookupFailedEvent.Reason
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 DnsSrvLookupFailedEvent(Event.Severity severity, Duration duration, Throwable cause, DnsSrvLookupFailedEvent.Reason reason)
-
Method Summary
Modifier and Type Method Description Throwable
cause()
If present, holds the cause for this event.String
description()
A textual description with more information about the event.DnsSrvLookupFailedEvent.Reason
reason()
-
Constructor Details
-
DnsSrvLookupFailedEvent
public DnsSrvLookupFailedEvent(Event.Severity severity, Duration duration, Throwable cause, DnsSrvLookupFailedEvent.Reason reason)
-
-
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.
-
reason
-