Package org.apache.cassandra.net
Class FrameDecoder.CorruptFrame
- java.lang.Object
-
- org.apache.cassandra.net.FrameDecoder.Frame
-
- org.apache.cassandra.net.FrameDecoder.CorruptFrame
-
- Enclosing class:
- FrameDecoder
public static final class FrameDecoder.CorruptFrame extends FrameDecoder.Frame
A corrupted frame was encountered; this represents the knowledge we have about this frame, and whether or not the stream is recoverable. Generally we consider a frame with corrupted header as unrecoverable, and frames with intact header, but corrupted payload - as recoverable, since we know and can skip payload size.InboundMessageHandlerfurther has its own idea of which frames are and aren't recoverable. A recoverableFrameDecoder.CorruptFramecan be considered unrecoverable byInboundMessageHandlerif it's the first frame of a large message (isn't self contained).
-
-
Field Summary
Fields Modifier and Type Field Description intcomputedCRCintreadCRC-
Fields inherited from class org.apache.cassandra.net.FrameDecoder.Frame
frameSize, isSelfContained
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRecoverable()
-