Package com.globalmentor.cache
Class AbstractFileCache.FileData
- Enclosing class:
- AbstractFileCache<K,
Q extends AbstractCache.Query<K>>
Class for storing cached file information. If no modified time is known, this will not influence the staleness determination of cached information.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
Methods inherited from class com.globalmentor.cache.Cache.Data
getCachedTime, getValue
-
Constructor Details
-
FileData
File constructor.- Parameters:
file
- The file to store.modifiedTime
- The last known modified time of the resource represented, ornull
if the last modified time is not known.
-
-
Method Details
-
getModifiedTime
- Returns:
- The last known modified time of the resource represented, or
null
if the last modified time is not known.
-