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
All Methods Instance Methods Concrete Methods 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, created, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
FeaturesNegotiatedEvent
public FeaturesNegotiatedEvent(IoContext ctx, Duration duration, List<ServerFeature> negotiated)
-
-
Method Detail
-
description
public String description()
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
negotiated
public List<ServerFeature> negotiated()
Returns the negotiated server features for this connection.- Returns:
- the negotiated list of server features.
-
-