Interface SnapshotFileCache.SnapshotFileInspector
- Enclosing class:
- SnapshotFileCache
static interface SnapshotFileCache.SnapshotFileInspector
-
Method Summary
Modifier and TypeMethodDescriptionfilesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir) Returns a collection of file names needed by the snapshot.
-
Method Details
-
filesUnderSnapshot
Collection<String> filesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir) throws IOException Returns a collection of file names needed by the snapshot.- Parameters:
fs-FileSystemwhere snapshot mainifest files are storedsnapshotDir-Pathto the snapshot directory to scan.- Returns:
- the collection of file names needed by the snapshot.
- Throws:
IOException
-