java.io.Closeable, java.lang.AutoCloseable@Private public class StripedBlockChecksumMd5CrcReconstructor extends StripedBlockChecksumReconstructor
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
StripedBlockChecksumMd5CrcReconstructor(ErasureCodingWorker worker,
StripedReconstructionInfo stripedReconInfo,
org.apache.hadoop.io.DataOutputBuffer checksumWriter,
long requestedBlockLength) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getBytesRead() |
|
long |
getBytesWritten() |
|
org.apache.hadoop.util.DataChecksum |
getChecksum() |
|
java.lang.Object |
getDigestObject() |
Should return a representation of a completed/reconstructed digest which
is suitable for debug printing.
|
ErasureCodingWorker |
getErasureCodingWorker() |
|
long |
getRemoteBytesRead() |
|
void |
incrBytesRead(boolean local,
long delta) |
|
void |
incrBytesWritten(long delta) |
|
protected void |
initDecoderIfNecessary() |
|
protected void |
initDecodingValidatorIfNecessary() |
|
protected static void |
markBuffers(java.nio.ByteBuffer[] buffers) |
|
protected static void |
resetBuffers(java.nio.ByteBuffer[] buffers) |
close, getChecksumDataLen, getChecksumWriter, reconstructpublic StripedBlockChecksumMd5CrcReconstructor(ErasureCodingWorker worker, StripedReconstructionInfo stripedReconInfo, org.apache.hadoop.io.DataOutputBuffer checksumWriter, long requestedBlockLength) throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object getDigestObject()
StripedBlockChecksumReconstructorgetDigestObject in class StripedBlockChecksumReconstructorpublic void incrBytesRead(boolean local,
long delta)
public void incrBytesWritten(long delta)
public long getBytesRead()
public long getRemoteBytesRead()
public long getBytesWritten()
protected void initDecoderIfNecessary()
protected void initDecodingValidatorIfNecessary()
public org.apache.hadoop.util.DataChecksum getChecksum()
public ErasureCodingWorker getErasureCodingWorker()
protected static void markBuffers(java.nio.ByteBuffer[] buffers)
protected static void resetBuffers(java.nio.ByteBuffer[] buffers)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.