Package org.jgroups.util
Class AgeOutCache<K>
java.lang.Object
org.jgroups.util.AgeOutCache<K>
Cache which removes its elements after a certain time
- Author:
- Bela Ban
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAgeOutCache(TimeScheduler timer, long timeout) AgeOutCache(TimeScheduler timer, long timeout, AgeOutCache.Handler handler) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()booleanlongvoidvoidremoveAll(Collection<K> keys) voidsetHandler(AgeOutCache.Handler handler) voidsetTimeout(long timeout) intsize()toString()