Class FSEditLogOp.Writer
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer
- Enclosing class:
- FSEditLogOp
Class for writing editlog ops
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteOp(FSEditLogOp op, int logVersion) Write an operation to the output stream
-
Constructor Details
-
Writer
public Writer(org.apache.hadoop.io.DataOutputBuffer out)
-
-
Method Details
-
writeOp
Write an operation to the output stream- Parameters:
op- The operation to writelogVersion- The version of edit log- Throws:
IOException- if an error occurs during writing.
-