public class ChronicleMapKeyValueStore<K,MV,V> extends Object implements AuthenticatedKeyValueStore<K,MV,V>, Closeable, java.util.function.Supplier<EngineReplication>
KeyValueStore.Entry<K,V>| Constructor and Description |
|---|
ChronicleMapKeyValueStore(RequestContext context,
Asset asset) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(EngineReplication.ReplicationEntry replicationEntry) |
Asset |
asset() |
void |
clear() |
void |
close() |
boolean |
containsValue(V value) |
void |
entriesFor(int segment,
SubscriptionConsumer<MapEvent<K,V>> kvConsumer) |
Iterator<Map.Entry<K,V>> |
entrySetIterator() |
EngineReplication |
get() |
V |
getAndPut(K key,
V value) |
V |
getAndRemove(K key) |
V |
getUsing(K key,
MV value) |
Iterator<K> |
keySetIterator() |
void |
keysFor(int segment,
SubscriptionConsumer<K> kConsumer) |
long |
longSize() |
KVSSubscription<K,MV,V> |
subscription(boolean createIfAbsent) |
KeyValueStore<K,MV,V> |
underlying() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsKey, get, isKeyType, isReadOnly, keyedView, put, putIfAbsent, remove, removeIfEqual, replace, replaceIfEqual, segmentFor, segments, valuesIteratorandThenpublic ChronicleMapKeyValueStore(@NotNull
RequestContext context,
@NotNull
Asset asset)
@NotNull public KVSSubscription<K,MV,V> subscription(boolean createIfAbsent)
subscription in interface SubscriptionKeyValueStore<K,MV,V>@Nullable public V getAndPut(K key, V value)
getAndPut in interface KeyValueStore<K,MV,V>@Nullable public V getAndRemove(K key)
getAndRemove in interface KeyValueStore<K,MV,V>public V getUsing(K key, @Nullable MV value)
getUsing in interface KeyValueStore<K,MV,V>public long longSize()
longSize in interface KeyValueStore<K,MV,V>public void keysFor(int segment,
@NotNull
SubscriptionConsumer<K> kConsumer)
throws InvalidSubscriberException
keysFor in interface KeyValueStore<K,MV,V>InvalidSubscriberExceptionpublic void entriesFor(int segment,
@NotNull
SubscriptionConsumer<MapEvent<K,V>> kvConsumer)
throws InvalidSubscriberException
entriesFor in interface KeyValueStore<K,MV,V>InvalidSubscriberException@NotNull public Iterator<Map.Entry<K,V>> entrySetIterator()
entrySetIterator in interface KeyValueStore<K,MV,V>@NotNull public Iterator<K> keySetIterator()
keySetIterator in interface KeyValueStore<K,MV,V>public void clear()
clear in interface KeyValueStore<K,MV,V>public boolean containsValue(V value)
containsValue in interface KeyValueStore<K,MV,V>@NotNull public Asset asset()
@Nullable public KeyValueStore<K,MV,V> underlying()
underlying in interface Assetted<KeyValueStore<K,MV,V>>public void close()
close in interface Closeableclose in interface AutoCloseablepublic void accept(@NotNull
EngineReplication.ReplicationEntry replicationEntry)
accept in interface java.util.function.Consumer<EngineReplication.ReplicationEntry>@Nullable public EngineReplication get()
get in interface java.util.function.Supplier<EngineReplication>Copyright © 2015. All rights reserved.