|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.utils.cache.FileCache.LastModifiedExpiration<T>
public static class FileCache.LastModifiedExpiration<T>
Expires items if the lastModified of the file is greater than the cached time for the item.
Constructor Summary | |
---|---|
FileCache.LastModifiedExpiration()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileCache.LastModifiedExpiration()
Method Detail |
---|
public boolean isExpired(java.io.File file, java.lang.Long cacheTime, T item)
FileCache.Expiration
isExpired
in interface FileCache.Expiration<T>
file
- the filecacheTime
- the time the item was last cacheditem
- the cached item
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |