Package org.jgroups.util
Class AgeOutCache<K>
java.lang.Object
org.jgroups.util.AgeOutCache<K>
Cache which removes its elements after a certain time
- Version:
- $Id: AgeOutCache.java,v 1.1.2.2 2009/04/15 07:18:47 belaban Exp $
- Author:
- Bela Ban
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAgeOutCache(ScheduledExecutorService timer, long timeout) AgeOutCache(ScheduledExecutorService timer, long timeout, AgeOutCache.Handler handler) -
Method Summary
Modifier and TypeMethodDescriptionvoidlongvoidvoidremoveAll(Collection<K> keys) voidsetHandler(AgeOutCache.Handler handler) voidsetTimeout(long timeout) intsize()toString()