public interface ValueSource<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addCallbacks(Consumer<T> successCallback,
Consumer<Throwable> failureCallback)
Used to notify target object about changes in the original object.
|
boolean |
cancel(boolean mayInterruptIfRunning)
Cancels execution of the original object if cancel is called on the target object
|
void addCallbacks(Consumer<T> successCallback, Consumer<Throwable> failureCallback)
boolean cancel(boolean mayInterruptIfRunning)
Copyright © 2014–2018. All rights reserved.