public static class DirectoryWithSnapshotFeature.DirectoryDiff extends Object
INodeDirectory
between two snapshots.Constructor and Description |
---|
DirectoryDiff(int snapshotId,
INodeDirectory dir,
org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff diff) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Integer that)
Compare diffs with snapshot ID.
|
org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff |
getChildrenDiff() |
int |
getSnapshotId() |
String |
toString() |
public DirectoryDiff(int snapshotId, INodeDirectory dir, org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff diff)
public org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.ChildrenDiff getChildrenDiff()
public String toString()
public final int compareTo(Integer that)
compareTo
in interface Comparable<Integer>
public final int getSnapshotId()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.