Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.visitor |
Use the visitor pattern to visit namespace tree.
|
Modifier and Type | Class and Description |
---|---|
static class |
INodeReference.DstReference |
static class |
INodeReference.WithCount
An anonymous reference with reference count.
|
static class |
INodeReference.WithName
A reference with a fixed name.
|
Modifier and Type | Method and Description |
---|---|
INodeReference |
INodeReference.asReference() |
INodeReference |
INodeReference.WithCount.getParentRef(int snapshotId) |
Modifier and Type | Method and Description |
---|---|
ArrayList<INodeReference> |
FSImageFormatProtobuf.LoaderContext.getRefList() |
ArrayList<INodeReference> |
FSImageFormatProtobuf.SaverContext.getRefList() |
Modifier and Type | Method and Description |
---|---|
void |
INodeReference.WithCount.addReference(INodeReference ref)
Increment and then return the reference count.
|
void |
INode.QuotaDelta.addUpdatePath(INodeReference inode,
QuotaCounts update) |
void |
INodeReference.WithCount.removeReference(INodeReference ref)
Decrement and then return the reference count.
|
void |
INodeDirectory.undoRename4ScrParent(INodeReference oldChild,
org.apache.hadoop.hdfs.server.namenode.INode newChild)
This method is usually called by the undo section of rename.
|
Constructor and Description |
---|
WithCount(INodeReference parent,
org.apache.hadoop.hdfs.server.namenode.INode referred) |
Modifier and Type | Method and Description |
---|---|
void |
NamespacePrintVisitor.visitReference(INodeReference ref,
int snapshot) |
default void |
NamespaceVisitor.visitReference(INodeReference ref,
int snapshot)
Visiting the given
INodeReference (non-recursively). |
default void |
NamespaceVisitor.visitReferenceRecursively(INodeReference ref,
int snapshot)
First visit the given
INodeReference and then the referred. |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.