public abstract class ExecutingDistributedPrimitive extends DelegatingDistributedPrimitive
Executor.| Modifier | Constructor and Description |
|---|---|
protected |
ExecutingDistributedPrimitive(org.onosproject.store.service.DistributedPrimitive primitive,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatusChangeListener(Consumer<org.onosproject.store.service.DistributedPrimitive.Status> listener) |
CompletableFuture<Void> |
destroy() |
void |
removeStatusChangeListener(Consumer<org.onosproject.store.service.DistributedPrimitive.Status> listener) |
applicationId, equals, hashCode, name, primitiveType, statusChangeListeners, toStringprotected ExecutingDistributedPrimitive(org.onosproject.store.service.DistributedPrimitive primitive,
Executor executor)
public CompletableFuture<Void> destroy()
destroy in interface org.onosproject.store.service.DistributedPrimitivedestroy in class DelegatingDistributedPrimitivepublic void addStatusChangeListener(Consumer<org.onosproject.store.service.DistributedPrimitive.Status> listener)
addStatusChangeListener in interface org.onosproject.store.service.DistributedPrimitiveaddStatusChangeListener in class DelegatingDistributedPrimitivepublic void removeStatusChangeListener(Consumer<org.onosproject.store.service.DistributedPrimitive.Status> listener)
removeStatusChangeListener in interface org.onosproject.store.service.DistributedPrimitiveremoveStatusChangeListener in class DelegatingDistributedPrimitive