K - key typeV - value typepublic class DelegatingAsyncConsistentMultimap<K,V> extends Object implements org.onosproject.store.service.AsyncConsistentMultimap<K,V>
AsyncConsistentMultimap that merely delegates control to
another AsyncConsistentMultimap.| Constructor and Description |
|---|
DelegatingAsyncConsistentMultimap(org.onosproject.store.service.AsyncConsistentMultimap<K,V> delegateMap) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic String name()
name in interface org.onosproject.store.service.DistributedPrimitivepublic CompletableFuture<Integer> size()
public CompletableFuture<Boolean> isEmpty()
public CompletableFuture<Boolean> containsKey(K key)
public CompletableFuture<Boolean> containsValue(V value)
public CompletableFuture<Boolean> containsEntry(K key, V value)
public CompletableFuture<Boolean> put(K key, V value)
public CompletableFuture<Boolean> remove(K key, V value)
public CompletableFuture<Boolean> removeAll(K key, Collection<? extends V> values)
public CompletableFuture<org.onosproject.store.service.Versioned<Collection<? extends V>>> removeAll(K key)
public CompletableFuture<Boolean> putAll(K key, Collection<? extends V> values)
public CompletableFuture<org.onosproject.store.service.Versioned<Collection<? extends V>>> replaceValues(K key, Collection<V> values)
public CompletableFuture<Void> clear()
public CompletableFuture<org.onosproject.store.service.Versioned<Collection<? extends V>>> get(K key)
public CompletableFuture<Set<K>> keySet()
public CompletableFuture<com.google.common.collect.Multiset<K>> keys()
public CompletableFuture<com.google.common.collect.Multiset<V>> values()
public CompletableFuture<Collection<Map.Entry<K,V>>> entries()
public CompletableFuture<Map<K,Collection<V>>> asMap()
public void addStatusChangeListener(Consumer<org.onosproject.store.service.DistributedPrimitive.Status> listener)
addStatusChangeListener in interface org.onosproject.store.service.DistributedPrimitivepublic void removeStatusChangeListener(Consumer<org.onosproject.store.service.DistributedPrimitive.Status> listener)
removeStatusChangeListener in interface org.onosproject.store.service.DistributedPrimitivepublic Collection<Consumer<org.onosproject.store.service.DistributedPrimitive.Status>> statusChangeListeners()
statusChangeListeners in interface org.onosproject.store.service.DistributedPrimitive