Class StripedBlockChecksumCompositeCrcReconstructor

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.erasurecode.StripedBlockChecksumReconstructor
org.apache.hadoop.hdfs.server.datanode.erasurecode.StripedBlockChecksumCompositeCrcReconstructor
All Implemented Interfaces:
Closeable, AutoCloseable

@Private public class StripedBlockChecksumCompositeCrcReconstructor extends StripedBlockChecksumReconstructor
Computes striped composite CRCs over reconstructed chunk CRCs.
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • getDigestObject

      public Object getDigestObject()
      Description copied from class: StripedBlockChecksumReconstructor
      Should return a representation of a completed/reconstructed digest which is suitable for debug printing.
      Specified by:
      getDigestObject in class StripedBlockChecksumReconstructor
    • incrBytesRead

      public void incrBytesRead(boolean local, long delta)
    • incrBytesWritten

      public void incrBytesWritten(long delta)
    • getBytesRead

      public long getBytesRead()
    • getRemoteBytesRead

      public long getRemoteBytesRead()
    • getBytesWritten

      public long getBytesWritten()
    • initDecoderIfNecessary

      protected void initDecoderIfNecessary()
    • initDecodingValidatorIfNecessary

      protected void initDecodingValidatorIfNecessary()
    • getChecksum

      public org.apache.hadoop.util.DataChecksum getChecksum()
    • getErasureCodingWorker

      public ErasureCodingWorker getErasureCodingWorker()
    • markBuffers

      protected static void markBuffers(ByteBuffer[] buffers)
    • resetBuffers

      protected static void resetBuffers(ByteBuffer[] buffers)