org.apache.hadoop.hdfs.server.namenode
Class FSEditLogOp.Writer

java.lang.Object
  extended by 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


Constructor Summary
FSEditLogOp.Writer(org.apache.hadoop.io.DataOutputBuffer out)
           
 
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
 

Constructor Detail

FSEditLogOp.Writer

public FSEditLogOp.Writer(org.apache.hadoop.io.DataOutputBuffer out)
Method Detail

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.