private static class SnapshotFileCache.SnapshotDirectoryInfo extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Collection<String> |
files |
(package private) long |
lastModified |
Constructor and Description |
---|
SnapshotDirectoryInfo(long mtime,
Collection<String> files) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getFiles()
Returns the hfiles in the snapshot when this was made.
|
boolean |
hasBeenModified(long mtime)
Check if the snapshot directory has been modified
|
long lastModified
Collection<String> files
public SnapshotDirectoryInfo(long mtime, Collection<String> files)
public Collection<String> getFiles()
public boolean hasBeenModified(long mtime)
mtime
- current modification time of the directoryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.