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
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.
InboundMessageHandler further has its own idea of which frames are and aren't recoverable.
A recoverable FrameDecoder.CorruptFrame can be considered unrecoverable by InboundMessageHandler
if it's the first frame of a large message (isn't self contained).-
Field Summary
FieldsFields inherited from class org.apache.cassandra.net.FrameDecoder.Frame
frameSize, isSelfContained -
Method Summary
-
Field Details
-
readCRC
public final int readCRC -
computedCRC
public final int computedCRC
-
-
Method Details
-
isRecoverable
public boolean isRecoverable()
-