Package org.cyclos.impl.utils
Interface ExpirableStorage<K,V,R extends BiPredicate<K,V>>
-
- All Superinterfaces:
Storage<K,V>
- All Known Subinterfaces:
LocalStorage<K,V>,SharedStorage<K,V>
public interface ExpirableStorage<K,V,R extends BiPredicate<K,V>> extends Storage<K,V>
Represents a key / value store whose values expire. The values set always have an associated expiration timeout.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<K>keys(R test)Returns all keys that match the given predicatevoidremoveIf(R test)Removes all the values that matches against the given predicate
-