public class CachedOffHeapStorage extends Object implements RecordStorage<String>
| Constructor and Description |
|---|
CachedOffHeapStorage(OffHeapRecordStorage offheap,
HeapRecordStorage<String> onHeap) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
forEach(org.nustaq.kontraktor.Spore<Record<String>,T> spore) |
Record<String> |
get(String key) |
StorageStats |
getStats() |
RecordStorage |
put(String key,
Record<String> value) |
Record<String> |
remove(String key) |
long |
size() |
Stream<Record<String>> |
stream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, filterPP, querypublic CachedOffHeapStorage(OffHeapRecordStorage offheap, HeapRecordStorage<String> onHeap)
public RecordStorage put(String key, Record<String> value)
put in interface RecordStorage<String>public Record<String> remove(String key)
remove in interface RecordStorage<String>public long size()
size in interface RecordStorage<String>public StorageStats getStats()
getStats in interface RecordStorage<String>public Stream<Record<String>> stream()
stream in interface RecordStorage<String>public <T> void forEach(org.nustaq.kontraktor.Spore<Record<String>,T> spore)
forEach in interface RealLiveStreamActor<String>Copyright © 2016. All rights reserved.