public class ProgressMonitorExecutor extends java.util.concurrent.ThreadPoolExecutor
gui.progress package}java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
ProgressMonitorExecutor(java.lang.String nameFormat,
int threadPriority)
Creates a new
ProgressMonitorExecutor |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecute(java.lang.Runnable r,
java.lang.Throwable t) |
void |
execute(java.lang.Runnable command) |
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated, toStringpublic ProgressMonitorExecutor(java.lang.String nameFormat, int threadPriority)
ProgressMonitorExecutornameFormat - see Utils.newThreadFactory(String, int)threadPriority - see Utils.newThreadFactory(String, int)public void execute(java.lang.Runnable command)
execute in interface java.util.concurrent.Executorexecute in class java.util.concurrent.ThreadPoolExecutorpublic void afterExecute(java.lang.Runnable r, java.lang.Throwable t)
afterExecute in class java.util.concurrent.ThreadPoolExecutor