Class InitGlobalConfigFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.core.InitGlobalConfigFailedEvent
- All Implemented Interfaces:
Event
Raised when a global config could not be loaded.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The reasons why the global config init failed.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
ConstructorsConstructorDescriptionInitGlobalConfigFailedEvent
(Event.Severity severity, Duration duration, CoreContext context, InitGlobalConfigFailedEvent.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
-
InitGlobalConfigFailedEvent
public InitGlobalConfigFailedEvent(Event.Severity severity, Duration duration, CoreContext context, InitGlobalConfigFailedEvent.Reason reason, Throwable cause)
-
-
Method Details
-
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.
-