| 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 | 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 | Description |
|---|---|---|
INodeReference |
INode.asReference() |
Cast this inode to an
INodeReference. |
INodeReference |
INodeReference.asReference() |
|
INodeReference |
INodeReference.WithCount.getParentRef(int snapshotId) |
|
INodeReference |
INode.getParentReference() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.ArrayList<INodeReference> |
FSImageFormatProtobuf.LoaderContext.getRefList() |
|
java.util.ArrayList<INodeReference> |
FSImageFormatProtobuf.SaverContext.getRefList() |
| Modifier and Type | Method | 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 |
INode.setParentReference(INodeReference parent) |
Set container.
|
void |
INodeDirectory.undoRename4ScrParent(INodeReference oldChild,
INode newChild) |
This method is usually called by the undo section of rename.
|
| Constructor | Description |
|---|---|
WithCount(INodeReference parent,
INode referred) |
| Modifier and Type | Method | 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–2025 Apache Software Foundation. All rights reserved.