Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
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 |
INode.asReference()
Cast this inode to an
INodeReference . |
INodeReference |
INode.getParentReference() |
Modifier and Type | Method and Description |
---|---|
void |
INodeReference.WithCount.addReference(INodeReference ref)
Increment and then return the reference count.
|
void |
INodeReference.WithCount.removeReference(INodeReference ref)
Decrement and then return the reference count.
|
void |
INode.setParentReference(INodeReference parent)
Set container.
|
Constructor and Description |
---|
INodeReference.WithCount(INodeReference parent,
INode referred) |
Modifier and Type | Method and Description |
---|---|
void |
INodeDirectoryWithSnapshot.undoRename4ScrParent(INodeReference oldChild,
INode newChild,
Snapshot latestSnapshot)
This method is usually called by the undo section of rename.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.