Class SnapshotFileCache.SnapshotDirectoryInfo
java.lang.Object
org.apache.hadoop.hbase.master.snapshot.SnapshotFileCache.SnapshotDirectoryInfo
- Enclosing class:
- SnapshotFileCache
Information about a snapshot directory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFiles()
Returns the hfiles in the snapshot when this was made.boolean
hasBeenModified
(long mtime) Check if the snapshot directory has been modified
-
Field Details
-
lastModified
long lastModified -
files
-
-
Constructor Details
-
SnapshotDirectoryInfo
-
-
Method Details
-
getFiles
Returns the hfiles in the snapshot when this was made. -
hasBeenModified
Check if the snapshot directory has been modified- Parameters:
mtime
- current modification time of the directory- Returns:
- true if it the modification time of the directory is newer time when we created this
-