Class CollectionMapRefreshFailedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.config.CollectionMapRefreshFailedEvent
- All Implemented Interfaces:
Event
public class CollectionMapRefreshFailedEvent extends AbstractEvent
This event is raised if a collection map could not be refreshed properly.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CollectionMapRefreshFailedEvent.Reason
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 CollectionMapRefreshFailedEvent(Duration duration, Context context, CollectionIdentifier collectionIdentifier, Throwable cause, CollectionMapRefreshFailedEvent.Reason reason)
-
Method Summary
Modifier and Type Method Description Throwable
cause()
If present, holds the cause for this event.CollectionIdentifier
collectionIdentifier()
String
description()
A textual description with more information about the event.
-
Constructor Details
-
CollectionMapRefreshFailedEvent
public CollectionMapRefreshFailedEvent(Duration duration, Context context, CollectionIdentifier collectionIdentifier, Throwable cause, CollectionMapRefreshFailedEvent.Reason reason)
-
-
Method Details
-
collectionIdentifier
-
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.
-