public class ForkJoinPool
extends java.util.concurrent.AbstractExecutorService
| Constructor and Description |
|---|
ForkJoinPool(boolean shared,
java.lang.String threadName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
void |
execute(java.lang.Runnable command) |
boolean |
isShutdown() |
boolean |
isTerminated() |
java.util.concurrent.AbstractExecutorService |
pool() |
void |
shutdown() |
java.util.List<java.lang.Runnable> |
shutdownNow() |
public java.util.concurrent.AbstractExecutorService pool()
public void shutdown()
public java.util.List<java.lang.Runnable> shutdownNow()
public boolean isShutdown()
public boolean isTerminated()
public boolean awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void execute(java.lang.Runnable command)
Copyright © 2024. All Rights Reserved.