KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > shiftone > cache > util > reaper > ReapableCache


1 package org.shiftone.cache.util.reaper;
2
3
4
5 import org.shiftone.cache.Cache;
6
7
8 /**
9  * A managed cache is one that can receive callbacks asking it to remove
10  * any expired objects (based on time timeoutMilliSeconds).
11  * The CacheReaper is typically responsible for performing the callback.
12  *
13  * @see org.shiftone.cache.util.reaper.CacheReaper
14  * @author <a HREF="mailto:jeff@shiftone.org">Jeff Drost</a>
15  * @version $Revision: 1.1 $
16  */

17 public interface ReapableCache extends Cache
18 {
19
20     /**
21      * Method removeExpiredElements
22      */

23     void removeExpiredElements();
24 }
25
Popular Tags