public static final class FSImageFormatProtobuf.Saver
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static int |
CHECK_CANCEL_INTERVAL |
| Modifier and Type | Method | Description |
|---|---|---|
void |
commitSection(FsImageProto.FileSummary.Builder summary,
FSImageFormatProtobuf.SectionName name) |
|
void |
commitSectionAndSubSection(FsImageProto.FileSummary.Builder summary,
FSImageFormatProtobuf.SectionName name,
FSImageFormatProtobuf.SectionName subSectionName) |
Commit the length and offset of a fsimage section to the summary index,
including the sub section, which will be committed before the section is
committed.
|
void |
commitSubSection(FsImageProto.FileSummary.Builder summary,
FSImageFormatProtobuf.SectionName name) |
Commit the length and offset of a fsimage sub-section to the summary
index.
|
SaveNamespaceContext |
getContext() |
|
int |
getInodesPerSubSection() |
|
org.apache.hadoop.io.MD5Hash |
getSavedDigest() |
|
FSImageFormatProtobuf.SaverContext |
getSaverContext() |
public static final int CHECK_CANCEL_INTERVAL
public org.apache.hadoop.io.MD5Hash getSavedDigest()
public SaveNamespaceContext getContext()
public FSImageFormatProtobuf.SaverContext getSaverContext()
public int getInodesPerSubSection()
public void commitSectionAndSubSection(FsImageProto.FileSummary.Builder summary, FSImageFormatProtobuf.SectionName name, FSImageFormatProtobuf.SectionName subSectionName) throws java.io.IOException
summary - The image summary objectname - The name of the section to commitsubSectionName - The name of the sub-section to commitjava.io.IOExceptionpublic void commitSection(FsImageProto.FileSummary.Builder summary, FSImageFormatProtobuf.SectionName name) throws java.io.IOException
java.io.IOExceptionpublic void commitSubSection(FsImageProto.FileSummary.Builder summary, FSImageFormatProtobuf.SectionName name) throws java.io.IOException
summary - The image summary objectname - The name of the sub-section to commitjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.