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, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitpublic ExecutorAdapter(int threadCount,
IThreadFactory tf)
public IFutureResult submitRunnable(java.lang.Runnable runnable)
submitRunnable in interface IExecutorpublic boolean awaitTermination(long timeout)
awaitTermination in interface IExecutorpublic java.lang.StackTraceElement[][] getStackTraces()
getStackTraces in interface IExecutor