Class ErrorMapLoadingFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.ErrorMapLoadingFailedEvent
- All Implemented Interfaces:
Event
public class ErrorMapLoadingFailedEvent extends AbstractEvent
If loading the KV error map for some reason fails, this event will capture
the KV status code.
-
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
Constructors Constructor Description ErrorMapLoadingFailedEvent(IoContext ctx, Duration duration, short status)
-
Method Summary
Modifier and Type Method Description String
description()
A textual description with more information about the event.short
status()
Returns the KV status which was not successful, useful for debugging.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
Constructor Details
-
ErrorMapLoadingFailedEvent
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
status
public short status()Returns the KV status which was not successful, useful for debugging.- Returns:
- the unsuccessful status.
-