Class ErrorMapLoadedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.io.ErrorMapLoadedEvent
-
- All Implemented Interfaces:
Event
public class ErrorMapLoadedEvent extends AbstractEvent
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
Constructors Constructor Description ErrorMapLoadedEvent(IoContext ctx, Duration duration, Optional<ErrorMap> errorMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
A textual description with more information about the event.Optional<ErrorMap>
errorMap()
Returns the error map if present.-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-