Class UnsolicitedFeaturesReturnedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.UnsolicitedFeaturesReturnedEvent
- All Implemented Interfaces:
Event
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
ConstructorDescriptionUnsolicitedFeaturesReturnedEvent
(IoContext ctx, List<ServerFeature> unsolicitedFeatures) -
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.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 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.
-