01: package org.shiftone.cache.util.reaper;
02:
03: import org.shiftone.cache.Cache;
04:
05: /**
06: * A managed cache is one that can receive callbacks asking it to remove
07: * any expired objects (based on time timeoutMilliSeconds).
08: * The CacheReaper is typically responsible for performing the callback.
09: *
10: * @see org.shiftone.cache.util.reaper.CacheReaper
11: * @author <a href="mailto:jeff@shiftone.org">Jeff Drost</a>
12: * @version $Revision: 1.1 $
13: */
14: public interface ReapableCache extends Cache {
15:
16: /**
17: * Method removeExpiredElements
18: */
19: void removeExpiredElements();
20: }
|