Class TForkJoinPool
- java.lang.Object
-
- java.util.concurrent.AbstractExecutorService
-
- de.mirkosertic.bytecoder.classlib.java.util.concurrent.TForkJoinPool
-
- All Implemented Interfaces:
java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
public class TForkJoinPool extends java.util.concurrent.AbstractExecutorService
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
shutdown
-
Constructor Summary
Constructors Constructor Description TForkJoinPool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long timeout, java.util.concurrent.TimeUnit unit)
void
execute(java.lang.Runnable command)
static int
getCommonPoolParallelism()
int
getParallelism()
boolean
isShutdown()
boolean
isTerminated()
void
shutdown()
java.util.List<java.lang.Runnable>
shutdownNow()
-
-
-
Method Detail
-
shutdown
public void shutdown()
-
shutdownNow
public java.util.List<java.lang.Runnable> shutdownNow()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
awaitTermination
public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
execute
public void execute(java.lang.Runnable command)
-
getCommonPoolParallelism
public static int getCommonPoolParallelism()
-
getParallelism
public int getParallelism()
-
-