@InterfaceAudience.Private @InterfaceStability.Unstable public interface OfflineEditsVisitor
Modifier and Type | Method and Description |
---|---|
void |
close(Throwable error)
Finish visiting the edits log structure.
|
void |
start(int version)
Begin visiting the edits log structure.
|
void |
visitOp(FSEditLogOp op)
Begin visiting an element that encloses another element, such as
the beginning of the list of blocks that comprise a file.
|
void start(int version) throws IOException
version
- Edit log versionIOException
void close(Throwable error) throws IOException
error
- If the visitor was closed because of an
unrecoverable error in the input stream, this
is the exception.IOException
void visitOp(FSEditLogOp op) throws IOException
value
- Token being visitedIOException
Copyright © 2013 Apache Software Foundation. All rights reserved.