public class SequentialExecutorService extends AbstractExecutorService
ExecutorService that is single-threaded, it never uses threads.| Constructor and Description |
|---|
SequentialExecutorService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long l,
TimeUnit timeUnit) |
void |
execute(Runnable runnable) |
int |
getParallelism() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
List<Runnable> |
shutdownNow() |
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitpublic int getParallelism()
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public boolean awaitTermination(long l,
TimeUnit timeUnit)
throws InterruptedException
InterruptedExceptionpublic void execute(Runnable runnable)
Copyright © 2015–2022 ImgLib2. All rights reserved.