|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.readonly.checksum.CheckSum
voldemort.store.readonly.checksum.Adler32CheckSum
public class Adler32CheckSum
Nested Class Summary |
---|
Nested classes/interfaces inherited from class voldemort.store.readonly.checksum.CheckSum |
---|
CheckSum.CheckSumType |
Constructor Summary | |
---|---|
Adler32CheckSum()
|
Method Summary | |
---|---|
byte[] |
getCheckSum()
Get the checkSum of the buffer till now, after which buffer is reset |
void |
reset()
Reset the checksum generator |
void |
update(byte[] input,
int startIndex,
int length)
Update the checksum buffer to include input with startIndex and length. |
Methods inherited from class voldemort.store.readonly.checksum.CheckSum |
---|
checkSumLength, fromString, getInstance, getInstance, toString, update, update, update, updateAndGetCheckSum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Adler32CheckSum()
Method Detail |
---|
public byte[] getCheckSum()
CheckSum
getCheckSum
in class CheckSum
public void update(byte[] input, int startIndex, int length)
CheckSum
update
in class CheckSum
public void reset()
CheckSum
reset
in class CheckSum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |