Package com.naver.ads.deferred
See: Description
-
Class Summary Class Description CallableDeferredNode An implementation of DeferredNode that implements Callable. CancellationTokenSource Propagates notification that operations should be canceled. DeferredCompletionSource Allows safe orchestration of a Deferred's completion, preventing the consumer from prematurely completing the deferred. UiThreadExecutor ImmediateExecutor Executor that executes a runnable immediately (synchronously) when it is submitted (when execute is called). BackgroundDeferredNode BackgroundExecutor DeferredNodeItem Represents an item holding the properties of the DeferredNode. DeferredQueue The queue holding the Deferreds. RuntimeExecutionException Similar to ExecutionException only as an unchecked, rather than a checked, exception. -
Interface Summary Interface Description CanceledCallback Listener called when a Deferred is cancelled. CancellationToken Propagates notification that operations should be canceled. CompleteCallback Listener called when a Deferred completes. Continuation A Functional interface to be called after a deferred completes. Deferred Represents the result of an asynchronous operations. DeferredNode Defines an interface that is a execution unit. FailureCallback Defines the contract for failure callbacks that accept the result of a Deferred. SuccessCallback Defines the contract for success callbacks that accept the result of a Deferred. SuccessContinuation A function that is called to continue execution then a Deferred succeeds. -
Object Summary Object Description DeferredExecutors Standard Executor instances for use with Deferred. Deferrer Miscellaneous Deferred methods.