Package one.microstream.cache
Interface CacheTable
- All Known Implementing Classes:
CacheTable.Default
public interface CacheTable
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CacheTable.Default
-
Method Summary
Modifier and Type Method Description void
clear()
CachedValue
get(Object key)
void
iterate(Consumer<KeyValue<Object,CachedValue>> procedure)
Iterator<KeyValue<Object,CachedValue>>
iterator()
Iterable<Object>
keys()
KeyValue<Object,CachedValue>
min(Comparator<? super KeyValue<Object,CachedValue>> comparator)
static CacheTable
New()
boolean
put(Object key, CachedValue value)
KeyValue<Object,CachedValue>
rangeMin(long offset, long length, Comparator<? super KeyValue<Object,CachedValue>> comparator)
CachedValue
remove(Object key)
KeyValue<Object,CachedValue>
search(Predicate<? super KeyValue<Object,CachedValue>> predicate)
long
size()