public abstract class AbstractExecutionService extends Object implements ExecutionService
ExecutionService.Cancellable, ExecutionService.CloseableExecutor| Modifier and Type | Method and Description |
|---|---|
void |
cancelDelayedTask(ExecutionService.Cancellable cancellableTask)
Best effort cancellation of a delayed task.
|
void |
dumpState() |
static void |
dumpThreads() |
ExecutionService.CloseableExecutor |
getConcurrentExecutor()
Get the concurrent execution service.
|
ExecutionService.CloseableExecutor |
getSerialExecutor()
Get a new, serial executor.
|
static boolean |
throttled() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultExecutor, postDelayedOnExecutorpublic static boolean throttled()
public static void dumpThreads()
@NonNull public ExecutionService.CloseableExecutor getSerialExecutor()
ExecutionServicegetSerialExecutor in interface ExecutionService@NonNull public ExecutionService.CloseableExecutor getConcurrentExecutor()
ExecutionServicegetConcurrentExecutor in interface ExecutionServicepublic void cancelDelayedTask(@NonNull
ExecutionService.Cancellable cancellableTask)
ExecutionServicecancelDelayedTask in interface ExecutionServicecancellableTask - object returned by a previous call to postDelayedOnExecutor.public void dumpState()