com.hazelcast.cache.impl.eviction
Interface ExpirationChecker<E extends Expirable>
- Type Parameters:
E - Type of the Expirable value
public interface ExpirationChecker<E extends Expirable>
Interface for entries, records or whatever that can be checked for expiration.
|
Method Summary |
boolean |
isExpired(E expirableEntry)
Checks if the given Expirable entry is expired or not. |
isExpired
boolean isExpired(E expirableEntry)
- Checks if the given
Expirable entry is expired or not.
- Parameters:
expirableEntry - Expirable entry which is checked to see if it is expired or not.
- Returns:
true if the Expirable entry is expired, otherwise false.
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.