org.apache.hadoop.hdfs.server.namenode.snapshot
Class INodeDirectoryWithSnapshot.DirectoryDiff
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.snapshot.INodeDirectoryWithSnapshot.DirectoryDiff
- All Implemented Interfaces:
- Comparable<Integer>
- Enclosing class:
- INodeDirectoryWithSnapshot
public static class INodeDirectoryWithSnapshot.DirectoryDiff
- extends Object
The difference of an INodeDirectory between two snapshots.
toString
public String toString()
compareTo
public final int compareTo(Integer that)
- Compare diffs with snapshot ID.
- Specified by:
compareTo in interface Comparable<Integer>
getSnapshot
public final org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot getSnapshot()
- Returns:
- the snapshot object of this diff.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.