org.shiftone.cache.util.reaper
Interface ReapableCache

All Superinterfaces:
Cache
All Known Implementing Classes:
AbstractPolicyCache, FifoCache, LfuCache, LruCache, SingleCache, SoftCache, SyncCache

public interface ReapableCache
extends Cache

A managed cache is one that can receive callbacks asking it to remove any expired objects (based on time timeoutMilliSeconds). The CacheReaper is typically responsible for performing the callback.

Version:
$Revision: 1.2 $
Author:
Jeff Drost
See Also:
CacheReaper

Method Summary
 void removeExpiredElements()
          Method removeExpiredElements
 
Methods inherited from interface org.shiftone.cache.Cache
addObject, clear, getObject, remove, size
 

Method Detail

removeExpiredElements

public void removeExpiredElements()
Method removeExpiredElements