Class TForkJoinPool
java.lang.Object
java.util.concurrent.AbstractExecutorService
de.mirkosertic.bytecoder.classlib.java.util.concurrent.TForkJoinPool
- All Implemented Interfaces:
AutoCloseable
,Executor
,ExecutorService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
awaitTermination
(long timeout, TimeUnit unit) void
static int
int
boolean
boolean
void
shutdown()
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.concurrent.ExecutorService
close
-
Field Details
-
shutdown
private boolean shutdown
-
-
Constructor Details
-
TForkJoinPool
public TForkJoinPool()
-
-
Method Details
-
shutdown
public void shutdown() -
shutdownNow
-
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
awaitTermination
- Throws:
InterruptedException
-
execute
-
getCommonPoolParallelism
public static int getCommonPoolParallelism() -
getParallelism
public int getParallelism()
-