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
All Methods Instance Methods Concrete Methods 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 Detail
-
CollectionMapRefreshFailedEvent
public CollectionMapRefreshFailedEvent(Duration duration, Context context, CollectionIdentifier collectionIdentifier, Throwable cause, CollectionMapRefreshFailedEvent.Reason reason)
-
-
Method Detail
-
collectionIdentifier
public CollectionIdentifier collectionIdentifier()
-
cause
public Throwable 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.
-
-