public static interface FileCache.Expiration<T>
Modifier and Type | Method and Description |
---|---|
boolean |
isExpired(java.io.File file,
java.lang.Long cacheTime,
T item)
Return true if the item associated with the file has expired, given the last timestamp associated with the
item
|
boolean isExpired(java.io.File file, java.lang.Long cacheTime, T item)
file
- the filecacheTime
- the time the item was last cacheditem
- the cached item