public static class DataIntegrityMetadata.ChecksumValidator
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
int |
chunkSize |
Constructor and Description |
---|
DataIntegrityMetadata.ChecksumValidator(Descriptor desc) |
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 DataIntegrityMetadata.ChecksumValidator(Descriptor desc) throws java.io.IOException
java.io.IOException
public void seek(long offset)
public long chunkStart(long offset)
public void validate(byte[] bytes, int start, int end) throws java.io.IOException
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
Copyright © 2013 The Apache Software Foundation