public static class DataIntegrityMetadata.ChecksumValidator
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
int |
chunkSize |
| Constructor and Description |
|---|
ChecksumValidator(Descriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
long |
chunkStart(long offset) |
void |
close() |
void |
seek(long offset) |
void |
validate(byte[] bytes,
int start,
int end) |
public ChecksumValidator(Descriptor descriptor) throws java.io.IOException
java.io.IOExceptionpublic void seek(long offset)
public long chunkStart(long offset)
public void validate(byte[] bytes,
int start,
int end)
throws java.io.IOException
java.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2015 The Apache Software Foundation