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. 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 Details

    • readCRC

      public final int readCRC
    • computedCRC

      public final int computedCRC
  • Method Details

    • isRecoverable

      public boolean isRecoverable()