org.apache.hadoop.hdfs.server.namenode
Class FSImageFormatProtobuf.Saver

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf.Saver
Enclosing class:
org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf

public static final class FSImageFormatProtobuf.Saver
extends Object


Field Summary
static int CHECK_CANCEL_INTERVAL
           
 
Method Summary
 void commitSection(FsImageProto.FileSummary.Builder summary, FSImageFormatProtobuf.SectionName name)
           
 org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext getContext()
           
 org.apache.hadoop.io.MD5Hash getSavedDigest()
           
 FSImageFormatProtobuf.SaverContext getSaverContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHECK_CANCEL_INTERVAL

public static final int CHECK_CANCEL_INTERVAL
See Also:
Constant Field Values
Method Detail

getSavedDigest

public org.apache.hadoop.io.MD5Hash getSavedDigest()

getContext

public org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext getContext()

getSaverContext

public FSImageFormatProtobuf.SaverContext getSaverContext()

commitSection

public void commitSection(FsImageProto.FileSummary.Builder summary,
                          FSImageFormatProtobuf.SectionName name)
                   throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.