O - The type of object for which work is registered and which
identifies a pipeline.public class UnlimitedPipelineExecutor<O> extends AbstractPipeliningExecutor<O,O>
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicyabortCount, flushPending, logger, objects, shutdownPendingfullSize, realCoreSize, realMaxSize, workSizeactiveThreads, completedTasks, submittedTasks| Constructor and Description |
|---|
UnlimitedPipelineExecutor(Adept2ThreadFactory threadFactory)
Creates a new thread pool executor with one pipeline per registered object
and no limit for the threads.
|
| Modifier and Type | Method and Description |
|---|---|
protected O |
getIndexObjectFor(O object)
Gets the object used for managing and executing runnables within this executor.
|
addRunnable, cancelAndFlush, clearAbortedPendingWork, executeShutdown, getOutstandingRunnablesexecute, flushAndExecute, flushAndExecuteUnchecked, isShutdown, restart, restartPendingWork, shutdown, shutdownNow, shutdownRunnableRun, submit, submit, submitAndFlushafterExecute, executebeforeExecute, newTaskFor, newTaskFor, setLogExecuteCallStack, updateQueueLimitallowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, terminated, toStringpublic UnlimitedPipelineExecutor(Adept2ThreadFactory threadFactory)
threadFactory - The factory to use when the executor creates a new
thread.protected O getIndexObjectFor(O object)
AbstractObjectSpecificExecutorgetIndexObjectFor in class AbstractObjectSpecificExecutor<O,O,java.util.Queue<java.lang.Runnable>>object - The object for which a runnable is registered.