public class InstanceProcessor extends Processor
Processor.ProcessorEventListener
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
DEFAULT_MAX_PROCESSING, DEFAULT_MAX_WAITING, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
InstanceProcessor()
Create an InstanceProcessor
|
InstanceProcessor(int priority)
Create an InstanceProcessor
|
InstanceProcessor(int maxWaiting,
int priority)
Create an InstanceProcessor
|
addListener, addTask, addTask, addTask, execute, fireDoneEvent, getDefaultThreadName, getFreeSlotNumber, getPriority, getThreadName, getWaitingTasksCount, getWaitingTasksCount, getWaitingTasksCount, getWaitingTasksCount, hasWaitingTasks, hasWaitingTasks, hasWaitingTasks, hasWaitingTasks, isFull, isProcessing, limitWaitingTask, limitWaitingTask, limitWaitingTask, remove, removeAllWaitingTasks, removeFirstWaitingTask, removeFirstWaitingTask, removeFirstWaitingTask, removeListener, removeTask, removeWaitingTasks, removeWaitingTasks, removeWaitingTasks, setDefaultThreadName, setPriority, setThreadName, shutdownAndWait, submit, submit, submit, submit, submit, submit, submit, submit, submit, waitAll
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, toString
public InstanceProcessor(int maxWaiting, int priority)
public InstanceProcessor(int priority)
public InstanceProcessor()