| |
|
| java.lang.Object com.whirlycott.cache.policy.ExpirationTimePredicate
ExpirationTimePredicate | public class ExpirationTimePredicate implements Predicate(Code) | | A predicate for filtering Collections of Items based on their expiration time.
author: Seth Fitzsimmons |
Method Summary | |
public boolean | evaluate(Object obj) Only Items with an expiration time that has passed will cause this to return true. |
ExpirationTimePredicate | public ExpirationTimePredicate(long currentTime)(Code) | | Creates an ExpirationTimePredicate.
Parameters: currentTime - Cache's notion of the "current time." |
evaluate | public boolean evaluate(Object obj)(Code) | | Only Items with an expiration time that has passed will cause this to return true.
|
|
|
|