| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.namenode.snapshot |
| Modifier and Type | Method | Description |
|---|---|---|
DirectoryWithSnapshotFeature.DirectoryDiff |
DiffListBySkipList.get(int index) |
Returns the data element at the specified index in this SkipList.
|
DirectoryWithSnapshotFeature.DirectoryDiff |
DiffListBySkipList.remove(int index) |
Removes the element at the specified position in this list.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DiffList<DirectoryWithSnapshotFeature.DirectoryDiff> |
DirectoryDiffListFactory.createDiffList(int capacity) |
|
java.util.List<DirectoryWithSnapshotFeature.DirectoryDiff> |
DiffListBySkipList.getMinListForRange(int fromIndex,
int toIndex,
INodeDirectory dir) |
This function returns the minimal set of diffs required to combine in
order to generate all the changes occurred between fromIndex and
toIndex.
|
java.util.Iterator<DirectoryWithSnapshotFeature.DirectoryDiff> |
DiffListBySkipList.iterator() |
Iterator is an iterator over the SkipList.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DiffListBySkipList.addFirst(DirectoryWithSnapshotFeature.DirectoryDiff diff) |
Adds the specified data element to the beginning of the SkipList,
if the element is not already present.
|
boolean |
DiffListBySkipList.addLast(DirectoryWithSnapshotFeature.DirectoryDiff diff) |
Adds the specified data element to the end of the SkipList,
if the element is not already present.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.