Class SelectBucketCompletedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.SelectBucketCompletedEvent
- All Implemented Interfaces:
Event
public class SelectBucketCompletedEvent extends AbstractEvent
This event gets created as soon as a bucket has been selected during the
KV bootstrap process for each socket/node.
- Since:
- 2.0.0
-
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 SelectBucketCompletedEvent(Duration duration, IoContext context, String bucket)
-
Method Summary
Modifier and Type Method Description String
bucket()
Returns the name of the bucket that got selected.String
description()
A textual description with more information about the event.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
Constructor Details
-
SelectBucketCompletedEvent
-
-
Method Details
-
bucket
Returns the name of the bucket that got selected. -
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-