public class TestPriorityThreadPoolExecutor extends PriorityThreadPoolExecutor
PriorityThreadPoolExecutor.PriorityThreadFactory
Constructor and Description |
---|
TestPriorityThreadPoolExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable command) |
Runnable |
peekTask() |
void |
releaseTask() |
afterExecute, create, create, create, getQueue, newTaskFor, newTaskFor
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated, toString
public void execute(Runnable command)
execute
in interface Executor
execute
in class PriorityThreadPoolExecutor
public Runnable peekTask()
public void releaseTask()