Class ErrorMapLoadedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.ErrorMapLoadedEvent
- All Implemented Interfaces:
Event
The KV error map got negotiated loaded from the server.
Note that it still can be empty (so we got a successful response from the server but no map was provided).
-
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
ConstructorDescriptionErrorMapLoadedEvent
(IoContext ctx, Duration duration, Optional<ErrorMap> errorMap) -
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.errorMap()
Returns the error map if present.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
ErrorMapLoadedEvent
-
-
Method Details
-
errorMap
Returns the error map if present.- Returns:
- the error map if present.
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-