org.apache.hadoop.hdfs.server.namenode
Class FSEditLogOp.Writer
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer
- Enclosing class:
- org.apache.hadoop.hdfs.server.namenode.FSEditLogOp
public static class FSEditLogOp.Writer
- extends Object
Class for writing editlog ops
|
Method Summary |
void |
writeOp(org.apache.hadoop.hdfs.server.namenode.FSEditLogOp op)
Write an operation to the output stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSEditLogOp.Writer
public FSEditLogOp.Writer(org.apache.hadoop.io.DataOutputBuffer out)
writeOp
public void writeOp(org.apache.hadoop.hdfs.server.namenode.FSEditLogOp op)
throws IOException
- Write an operation to the output stream
- Parameters:
op - The operation to write
- Throws:
IOException - if an error occurs during writing.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.