| com.whirlycott.cache.CacheMaintenancePolicy
All known Subclasses: com.whirlycott.cache.policy.NullPolicy,
CacheMaintenancePolicy | public interface CacheMaintenancePolicy (Code) | | This interface defines the operations in a cache maintenance policy. A cache maintenance policy defines the set of
rules that are used to automatically expire items that are stored in a particular cache.
All policies must implement this interface and be configured in the whirlycache.xml configuration file.
Each Cache has its own independent policy.
author: Phil Jacob |
Method Summary | |
public void | performMaintenance(ManagedCache<K, V> managedCache, int maxSize) Performs housekeeping on the associated ManagedCache instance (typically removes Items based on varying criteria). |
performMaintenance | public void performMaintenance(ManagedCache<K, V> managedCache, int maxSize)(Code) | | Performs housekeeping on the associated ManagedCache instance (typically removes Items based on varying criteria).
Parameters: managedCache - Parameters: maxSize - |
|
|