Class FeaturesNegotiatedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.FeaturesNegotiatedEvent
- All Implemented Interfaces:
Event
public class FeaturesNegotiatedEvent extends AbstractEvent
Captures the end of the KV feature negotiation.
-
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 FeaturesNegotiatedEvent(IoContext ctx, Duration duration, List<ServerFeature> negotiated)
-
Method Summary
Modifier and Type Method Description String
description()
A textual description with more information about the event.List<ServerFeature>
negotiated()
Returns the negotiated server features for this connection.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
Constructor Details
-
FeaturesNegotiatedEvent
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
negotiated
Returns the negotiated server features for this connection.- Returns:
- the negotiated list of server features.
-