Class CompositeOnComplete<T>
java.lang.Object
org.opendaylight.controller.cluster.datastore.utils.CompositeOnComplete<T>
- Type Parameters:
T
- the result type
- All Implemented Interfaces:
BiConsumer<T,
Throwable>
An OnComplete implementation that aggrgates other OnComplete tasks.
- Author:
- Thomas Pantelis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addOnComplete
(BiConsumer<T, Throwable> task) protected final void
notifyOnCompleteTasks
(Throwable failure, T result) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
accept, andThen
-
Constructor Details
-
CompositeOnComplete
public CompositeOnComplete()
-
-
Method Details
-
addOnComplete
-
notifyOnCompleteTasks
-