java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
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
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