Class RequestNotRetriedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.request.RequestNotRetriedEvent
- All Implemented Interfaces:
Event
This event is raised if a request is not retried anymore.
-
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
ConstructorDescriptionRequestNotRetriedEvent
(Event.Severity severity, Class<?> clazz, Context context, RetryReason reason, Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptioncause()
If present, holds the cause for this event.A textual description with more information about the event.
-
Constructor Details
-
RequestNotRetriedEvent
public RequestNotRetriedEvent(Event.Severity severity, Class<?> clazz, Context context, RetryReason reason, Throwable throwable)
-
-
Method Details
-
retryReason
-
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.
-