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