Package com.naver.ads.deferred
Object DeferredExecutors
-
- All Implemented Interfaces:
public class DeferredExecutorsStandard Executor instances for use with Deferred.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDeferredExecutors.UiThreadExecutorpublic final classDeferredExecutors.ImmediateExecutorExecutor that executes a runnable immediately (synchronously) when it is submitted (when execute is called).
public final classDeferredExecutors.BackgroundDeferredNodepublic final classDeferredExecutors.BackgroundExecutor
-
Field Summary
Fields Modifier and Type Field Description private final static ExecutorUI_THREAD_EXECUTORprivate final static ExecutorIMMEDIATE_EXECUTORprivate final static ExecutorBACKGROUND_EXECUTORpublic final static DeferredExecutorsINSTANCE
-
Method Summary
Modifier and Type Method Description final static ExecutorgetUI_THREAD_EXECUTOR()An Executor that executes Deferreds on the UI thread. final static ExecutorgetIMMEDIATE_EXECUTOR()An Executor that executes Deferreds immediately (synchronously) when it is submitted. final static ExecutorgetBACKGROUND_EXECUTOR()An Executor that executes Deferreds in parallel. -
-
Method Detail
-
getUI_THREAD_EXECUTOR
final static Executor getUI_THREAD_EXECUTOR()
-
getIMMEDIATE_EXECUTOR
final static Executor getIMMEDIATE_EXECUTOR()
-
getBACKGROUND_EXECUTOR
final static Executor getBACKGROUND_EXECUTOR()
-
-
-
-