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
All Methods Instance Methods Concrete Methods 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 Detail
-
DnsSrvLookupFailedEvent
public DnsSrvLookupFailedEvent(Event.Severity severity, Duration duration, Throwable cause, DnsSrvLookupFailedEvent.Reason reason)
-
-
Method Detail
-
description
public String description()
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
cause
public Throwable 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
public DnsSrvLookupFailedEvent.Reason reason()
-
-