Package one.microstream.cache
Class CacheTable.Default
java.lang.Object
one.microstream.cache.CacheTable.Default
- All Implemented Interfaces:
CacheTable
- Enclosing interface:
- CacheTable
public static class CacheTable.Default extends Object implements CacheTable
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.CacheTable
CacheTable.Default
-
Constructor Summary
Constructors Constructor Description 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)
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()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
get
- Specified by:
get
in interfaceCacheTable
-
put
- Specified by:
put
in interfaceCacheTable
-
remove
- Specified by:
remove
in interfaceCacheTable
-
keys
- Specified by:
keys
in interfaceCacheTable
-
iterator
- Specified by:
iterator
in interfaceCacheTable
-
iterate
- Specified by:
iterate
in interfaceCacheTable
-
search
public KeyValue<Object,CachedValue> search(Predicate<? super KeyValue<Object,CachedValue>> predicate)- Specified by:
search
in interfaceCacheTable
-
size
public long size()- Specified by:
size
in interfaceCacheTable
-
clear
public void clear()- Specified by:
clear
in interfaceCacheTable
-
min
public KeyValue<Object,CachedValue> min(Comparator<? super KeyValue<Object,CachedValue>> comparator)- Specified by:
min
in interfaceCacheTable
-
rangeMin
public KeyValue<Object,CachedValue> rangeMin(long offset, long length, Comparator<? super KeyValue<Object,CachedValue>> comparator)- Specified by:
rangeMin
in interfaceCacheTable
-