Class Adler32CheckSum
java.lang.Object
com.linkedin.venice.kafka.validation.checksum.CheckSum
com.linkedin.venice.kafka.validation.checksum.Adler32CheckSum
Running checksum implementations based on Adler32.
N.B.: Class taken from Voldemort.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getType()
void
void
updateChecksum
(byte[] input, int startIndex, int length) Methods inherited from class com.linkedin.venice.kafka.validation.checksum.CheckSum
getCheckSum, getEncodedState, getInstance, getInstance, reset, toString, update, update, update, update
-
Constructor Details
-
Adler32CheckSum
public Adler32CheckSum()
-
-
Method Details
-
getFinalCheckSum
public byte[] getFinalCheckSum()- Specified by:
getFinalCheckSum
in classCheckSum
-
updateChecksum
public void updateChecksum(byte[] input, int startIndex, int length) - Specified by:
updateChecksum
in classCheckSum
-
resetInternal
public void resetInternal()- Specified by:
resetInternal
in classCheckSum
-
getType
-