tachyon
Class MasterLogWriter

java.lang.Object
  extended by tachyon.MasterLogWriter

public class MasterLogWriter
extends Object

MasterLogWriter writes log into master's write-ahead-log or checkpoint data files.


Constructor Summary
MasterLogWriter(String fileName)
           
 
Method Summary
 void append(Inode inode, boolean flush)
           
 void append(List<Inode> inodeList, boolean flush)
           
 void appendAndFlush(CheckpointInfo checkpointInfo)
           
 void close()
           
 void flush()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterLogWriter

public MasterLogWriter(String fileName)
                throws IOException
Throws:
IOException
Method Detail

append

public void append(Inode inode,
                   boolean flush)

append

public void append(List<Inode> inodeList,
                   boolean flush)

appendAndFlush

public void appendAndFlush(CheckpointInfo checkpointInfo)

flush

public void flush()

close

public void close()


Copyright © 2013. All Rights Reserved.