E - set entry typepublic class DefaultAsyncDistributedSet<E> extends Object implements org.onosproject.store.service.AsyncDistributedSet<E>
AsyncDistributedSet.| Constructor and Description |
|---|
DefaultAsyncDistributedSet(org.onosproject.store.service.AsyncConsistentMap<E,Boolean> backingMap,
String name,
boolean meteringEnabled) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
add(E entry) |
CompletableFuture<Boolean> |
addAll(Collection<? extends E> c) |
CompletableFuture<Void> |
addListener(org.onosproject.store.service.SetEventListener<E> listener) |
CompletableFuture<Void> |
clear() |
CompletableFuture<Boolean> |
contains(E element) |
CompletableFuture<Boolean> |
containsAll(Collection<? extends E> c) |
CompletableFuture<? extends Set<E>> |
getAsImmutableSet() |
CompletableFuture<Boolean> |
isEmpty() |
String |
name() |
CompletableFuture<Boolean> |
remove(E entry) |
CompletableFuture<Boolean> |
removeAll(Collection<? extends E> c) |
CompletableFuture<Void> |
removeListener(org.onosproject.store.service.SetEventListener<E> listener) |
CompletableFuture<Boolean> |
retainAll(Collection<? extends E> c) |
CompletableFuture<Integer> |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic String name()
name in interface org.onosproject.store.service.DistributedPrimitivepublic CompletableFuture<Integer> size()
size in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> isEmpty()
isEmpty in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> contains(E element)
contains in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> add(E entry)
add in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> remove(E entry)
remove in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> containsAll(Collection<? extends E> c)
containsAll in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> addAll(Collection<? extends E> c)
addAll in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> retainAll(Collection<? extends E> c)
retainAll in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Boolean> removeAll(Collection<? extends E> c)
removeAll in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Void> clear()
clear in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<? extends Set<E>> getAsImmutableSet()
getAsImmutableSet in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Void> addListener(org.onosproject.store.service.SetEventListener<E> listener)
addListener in interface org.onosproject.store.service.AsyncDistributedSet<E>public CompletableFuture<Void> removeListener(org.onosproject.store.service.SetEventListener<E> listener)
removeListener in interface org.onosproject.store.service.AsyncDistributedSet<E>Copyright © 2016. All rights reserved.