public class ExecutingAsyncDocumentTree<V> extends ExecutingDistributedPrimitive implements org.onosproject.store.service.AsyncDocumentTree<V>
AsyncDocumentTree that executes asynchronous callbacks on a user provided
Executor.| Constructor and Description |
|---|
ExecutingAsyncDocumentTree(org.onosproject.store.service.AsyncDocumentTree<V> delegateTree,
Executor orderedExecutor,
Executor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
addListener(org.onosproject.store.service.DocumentPath path,
org.onosproject.store.service.DocumentTreeListener<V> listener) |
CompletableFuture<Boolean> |
create(org.onosproject.store.service.DocumentPath path,
V value) |
CompletableFuture<Boolean> |
createRecursive(org.onosproject.store.service.DocumentPath path,
V value) |
CompletableFuture<org.onosproject.store.service.Versioned<V>> |
get(org.onosproject.store.service.DocumentPath path) |
CompletableFuture<Map<String,org.onosproject.store.service.Versioned<V>>> |
getChildren(org.onosproject.store.service.DocumentPath path) |
CompletableFuture<Void> |
removeListener(org.onosproject.store.service.DocumentTreeListener<V> listener) |
CompletableFuture<org.onosproject.store.service.Versioned<V>> |
removeNode(org.onosproject.store.service.DocumentPath path) |
CompletableFuture<Boolean> |
replace(org.onosproject.store.service.DocumentPath path,
V newValue,
long version) |
CompletableFuture<Boolean> |
replace(org.onosproject.store.service.DocumentPath path,
V newValue,
V currentValue) |
org.onosproject.store.service.DocumentPath |
root() |
CompletableFuture<org.onosproject.store.service.Versioned<V>> |
set(org.onosproject.store.service.DocumentPath path,
V value) |
addStatusChangeListener, asyncFuture, destroy, removeStatusChangeListenerapplicationId, equals, hashCode, name, primitiveType, statusChangeListeners, toStringpublic org.onosproject.store.service.DocumentPath root()
root in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Map<String,org.onosproject.store.service.Versioned<V>>> getChildren(org.onosproject.store.service.DocumentPath path)
getChildren in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<org.onosproject.store.service.Versioned<V>> get(org.onosproject.store.service.DocumentPath path)
get in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<org.onosproject.store.service.Versioned<V>> set(org.onosproject.store.service.DocumentPath path, V value)
set in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Boolean> create(org.onosproject.store.service.DocumentPath path, V value)
create in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Boolean> createRecursive(org.onosproject.store.service.DocumentPath path, V value)
createRecursive in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Boolean> replace(org.onosproject.store.service.DocumentPath path, V newValue, long version)
replace in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Boolean> replace(org.onosproject.store.service.DocumentPath path, V newValue, V currentValue)
replace in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<org.onosproject.store.service.Versioned<V>> removeNode(org.onosproject.store.service.DocumentPath path)
removeNode in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Void> addListener(org.onosproject.store.service.DocumentPath path, org.onosproject.store.service.DocumentTreeListener<V> listener)
addListener in interface org.onosproject.store.service.AsyncDocumentTree<V>public CompletableFuture<Void> removeListener(org.onosproject.store.service.DocumentTreeListener<V> listener)
removeListener in interface org.onosproject.store.service.AsyncDocumentTree<V>