public class ObjectObjectKeyValueStore<K,MV extends V,V> extends Object implements KeyValueStore<K,MV,V>
KeyValueStore.Entry<K,V>| Constructor and Description |
|---|
ObjectObjectKeyValueStore(FactoryContext<KeyValueStore<net.openhft.chronicle.bytes.BytesStore,net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.bytes.BytesStore>> context) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
asset() |
void |
asset(Asset asset) |
void |
clear() |
void |
entriesFor(int segment,
java.util.function.Consumer<KeyValueStore.Entry<K,V>> kvConsumer) |
Iterator<Map.Entry<K,V>> |
entrySetIterator() |
V |
getAndPut(K key,
V value) |
V |
getAndRemove(K key) |
V |
getUsing(K key,
MV value) |
void |
keysFor(int segment,
java.util.function.Consumer<K> kConsumer) |
V |
replace(K key,
V value) |
long |
size() |
KeyValueStore |
underlying() |
void |
underlying(KeyValueStore underlying) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsKey, get, isReadOnly, put, remove, segmentFor, segmentsisUnderlyingpublic ObjectObjectKeyValueStore(FactoryContext<KeyValueStore<net.openhft.chronicle.bytes.BytesStore,net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.bytes.BytesStore>> context)
public V getAndRemove(K key)
getAndRemove in interface KeyValueStore<K,MV extends V,V>public void keysFor(int segment,
java.util.function.Consumer<K> kConsumer)
public void entriesFor(int segment,
java.util.function.Consumer<KeyValueStore.Entry<K,V>> kvConsumer)
entriesFor in interface KeyValueStore<K,MV extends V,V>public Iterator<Map.Entry<K,V>> entrySetIterator()
entrySetIterator in interface KeyValueStore<K,MV extends V,V>public void asset(Asset asset)
public Asset asset()
public void underlying(KeyValueStore underlying)
underlying in interface Assetted<KeyValueStore<K,MV extends V,V>>public KeyValueStore underlying()
underlying in interface Assetted<KeyValueStore<K,MV extends V,V>>Copyright © 2015. All rights reserved.