Class InitGlobalConfigFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.core.InitGlobalConfigFailedEvent
- All Implemented Interfaces:
Event
public class InitGlobalConfigFailedEvent extends AbstractEvent
Raised when a global config could not be loaded.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInitGlobalConfigFailedEvent.ReasonThe 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
Constructors Constructor Description InitGlobalConfigFailedEvent(Event.Severity severity, Duration duration, CoreContext context, InitGlobalConfigFailedEvent.Reason reason, Throwable cause) -
Method Summary
Modifier and Type Method Description Throwablecause()If present, holds the cause for this event.Stringdescription()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:EventIf 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:EventA textual description with more information about the event.- Returns:
- the description, if set.
-