public class VanillaStringMarshallableKeyValueStore<V extends net.openhft.chronicle.wire.Marshallable> extends Object implements StringMarshallableKeyValueStore<V>
KeyValueStore.Entry<K,V>| Constructor and Description |
|---|
VanillaStringMarshallableKeyValueStore(FactoryContext<SubscriptionKeyValueStore<String,net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.bytes.BytesStore>> context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsKey, get, isReadOnly, put, remove, replace, segmentFor, segmentsisUnderlyingforSessionpublic VanillaStringMarshallableKeyValueStore(FactoryContext<SubscriptionKeyValueStore<String,net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.bytes.BytesStore>> context)
public V getAndPut(String key, V value)
getAndPut in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public V getAndRemove(String key)
getAndRemove in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public V getUsing(String key, V value)
getUsing in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public long size()
size in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public void keysFor(int segment,
java.util.function.Consumer<String> kConsumer)
keysFor in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public void entriesFor(int segment,
java.util.function.Consumer<KeyValueStore.Entry<String,V>> kvConsumer)
entriesFor in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public Iterator<Map.Entry<String,V>> entrySetIterator()
entrySetIterator in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public void clear()
clear in interface KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>public void asset(Asset asset)
public Asset asset()
public void underlying(KeyValueStore<String,V,V> underlying)
underlying in interface Assetted<KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>>public KeyValueStore underlying()
underlying in interface Assetted<KeyValueStore<String,V extends net.openhft.chronicle.wire.Marshallable,V extends net.openhft.chronicle.wire.Marshallable>>public <E> void registerSubscriber(Class<E> eClass, Subscriber<E> subscriber, String query)
registerSubscriber in interface Subscriptionpublic <T,E> void registerTopicSubscriber(Class<T> tClass, Class<E> eClass, TopicSubscriber<T,E> subscriber, String query)
registerTopicSubscriber in interface Subscriptionpublic <E> void unregisterSubscriber(Class<E> eClass, Subscriber<E> subscriber, String query)
unregisterSubscriber in interface Subscriptionpublic <T,E> void unregisterTopicSubscriber(Class<T> tClass, Class<E> eClass, TopicSubscriber<T,E> subscriber, String query)
unregisterTopicSubscriber in interface Subscriptionpublic View forSession(LocalSession session, Asset asset)
forSession in interface ViewCopyright © 2015. All rights reserved.