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 |
---|
SnapshotFileCache.SnapshotDirectoryInfo(long mtime,
Collection<String> files) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getFiles() |
boolean |
hasBeenModified(long mtime)
Check if the snapshot directory has been modified
|
long lastModified
Collection<String> files
public SnapshotFileCache.SnapshotDirectoryInfo(long mtime, Collection<String> files)
public Collection<String> getFiles()
public boolean hasBeenModified(long mtime)
mtime
- current modification time of the directoryCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.