Class UnsolicitedFeaturesReturnedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.io.UnsolicitedFeaturesReturnedEvent
-
- All Implemented Interfaces:
Event
public class UnsolicitedFeaturesReturnedEvent extends AbstractEvent
If the server sends us unsolicited features during the HELLO negotiation, this event will be raised - it is a warning severity since it indicates a server bug.
-
-
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 UnsolicitedFeaturesReturnedEvent(IoContext ctx, List<ServerFeature> unsolicitedFeatures)
-
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>
unsolicitedFeatures()
Returns the unsolicited features that got returned by the server.-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
UnsolicitedFeaturesReturnedEvent
public UnsolicitedFeaturesReturnedEvent(IoContext ctx, List<ServerFeature> unsolicitedFeatures)
-
-
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.
-
unsolicitedFeatures
public List<ServerFeature> unsolicitedFeatures()
Returns the unsolicited features that got returned by the server.- Returns:
- the list of unsolicited features returned by the server.
-
-