public class ForkJoinPool extends AbstractExecutorService
Constructor and Description |
---|
ForkJoinPool(boolean shared,
String threadName) |
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
void |
execute(Runnable command) |
boolean |
isShutdown() |
boolean |
isTerminated() |
AbstractExecutorService |
pool() |
void |
shutdown() |
List<Runnable> |
shutdownNow() |
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
public ForkJoinPool(boolean shared, String threadName)
public AbstractExecutorService pool()
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
public void execute(Runnable command)
Copyright © 2016. All rights reserved.