java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
Modifier and Type | Field and Description |
---|---|
private IThreadFactory |
m_threadFactory |
Constructor and Description |
---|
ExecutorAdapter(int threadCount,
IThreadFactory tf) |
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout) |
java.lang.StackTraceElement[][] |
getStackTraces() |
void |
stopNow() |
IFutureResult |
submitRunnable(java.lang.Runnable runnable) |
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, 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, toString
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
private IThreadFactory m_threadFactory
public ExecutorAdapter(int threadCount, IThreadFactory tf)
public IFutureResult submitRunnable(java.lang.Runnable runnable)
submitRunnable
in interface IExecutor
public boolean awaitTermination(long timeout)
awaitTermination
in interface IExecutor
public java.lang.StackTraceElement[][] getStackTraces()
getStackTraces
in interface IExecutor