Class ChunkChecksum
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.ChunkChecksum
holder class that holds checksum bytes and the length in a block at which
the checksum bytes end
ex: length = 1023 and checksum is 4 bytes which is for 512 bytes, then
the checksum applies for the last chunk, or bytes 512 - 1023
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChunkChecksum
public ChunkChecksum(long dataLength, byte[] checksum)
-
-
Method Details
-
getDataLength
public long getDataLength() -
getChecksum
public byte[] getChecksum()
-