Class UnknownSaslMechanismDetectedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.UnknownSaslMechanismDetectedEvent
- All Implemented Interfaces:
Event
public class UnknownSaslMechanismDetectedEvent extends AbstractEvent
This event is raised if the client detects an unknown SASL mechanism it cannot turn into an enum.
Note that this event is at DEBUG because it is perfectly acceptable that in a future server version the server sends a mechanism we don't know yet.
-
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 UnknownSaslMechanismDetectedEvent(Context context, String mechanism)
-
Method Summary
Modifier and Type Method Description String
description()
A textual description with more information about the event.String
mechanism()
Returns the unknown mechanism.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, createdAt, duration, severity, toString
-
Constructor Details
-
UnknownSaslMechanismDetectedEvent
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
mechanism
Returns the unknown mechanism.
-