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
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, createdAt, duration, severity, toString
-
Constructor Details
-
UnsolicitedFeaturesReturnedEvent
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
unsolicitedFeatures
Returns the unsolicited features that got returned by the server.- Returns:
- the list of unsolicited features returned by the server.
-