Class InvalidPacketDetectedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.InvalidPacketDetectedEvent
- All Implemented Interfaces:
Event
This event is created if somewhere in the IO layer an invalid packet
was detected.
Usually this happens if during a KV operation either a malformed request or response was detected. For more information, refer to the payload of this event.
- Since:
- 2.0.0
-
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
-
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.byte[]
packet()
Returns the invalid/malformed packet in its entirety.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
InvalidPacketDetectedEvent
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
packet
public byte[] packet()Returns the invalid/malformed packet in its entirety.- Returns:
- the malformed packet.
-