Package org.apache.lucene.store
Class BufferedChecksum
- java.lang.Object
-
- org.apache.lucene.store.BufferedChecksum
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_BUFFERSIZE
Default buffer size: 1024
-
Constructor Summary
Constructors Constructor Description BufferedChecksum(Checksum in)
Create a new BufferedChecksum withDEFAULT_BUFFERSIZE
BufferedChecksum(Checksum in, int bufferSize)
Create a new BufferedChecksum with the specified bufferSize
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getValue()
void
reset()
void
update(byte[] b, int off, int len)
void
update(int b)
-
-
-
Field Detail
-
DEFAULT_BUFFERSIZE
public static final int DEFAULT_BUFFERSIZE
Default buffer size: 1024- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BufferedChecksum
public BufferedChecksum(Checksum in)
Create a new BufferedChecksum withDEFAULT_BUFFERSIZE
-
BufferedChecksum
public BufferedChecksum(Checksum in, int bufferSize)
Create a new BufferedChecksum with the specified bufferSize
-
-