Package com.naver.ads.deferred
Class DeferredExecutors.BackgroundDeferredNode
-
- All Implemented Interfaces:
-
com.naver.ads.deferred.DeferredNode,java.util.concurrent.Callable
public final class DeferredExecutors.BackgroundDeferredNode implements DeferredNode, Callable<Any>
-
-
Constructor Summary
Constructors Constructor Description DeferredExecutors.BackgroundDeferredNode(DeferredQueue deferredQueue, Runnable command)
-
Method Summary
Modifier and Type Method Description RunnablegetRunnable()Returns the underlying task. UnithandleError(Exception exception)Handles the error in this DeferredNode. BooleanisCompleted()Return whether this DeferredNode is completed. Objectcall()-
-
Constructor Detail
-
DeferredExecutors.BackgroundDeferredNode
DeferredExecutors.BackgroundDeferredNode(DeferredQueue deferredQueue, Runnable command)
-
-
Method Detail
-
getRunnable
Runnable getRunnable()
Returns the underlying task.
-
handleError
Unit handleError(Exception exception)
Handles the error in this DeferredNode.
-
isCompleted
Boolean isCompleted()
Return whether this DeferredNode is completed.
-
-
-
-