@ThreadSafe public final class ScheduledThreadPoolExecutorX extends ScheduledThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
ScheduledThreadPoolExecutorX(int _corePoolSize,
ThreadFactory _threadFactory)
Constructs a ScheduledThreadPoolExecutorX with a no-op catcher.
|
ScheduledThreadPoolExecutorX(int _corePoolSize,
ThreadFactory _threadFactory,
Catcher<Runnable> _catcher)
Constructs a ScheduledThreadPoolExecutorX.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecute(Runnable r,
Throwable t) |
Catcher<Runnable> |
catcher()
The catcher for all execution exceptions.
|
decorateTask, decorateTask, execute, getContinueExistingPeriodicTasksAfterShutdownPolicy, getExecuteExistingDelayedTasksAfterShutdownPolicy, getQueue, getRemoveOnCancelPolicy, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, setContinueExistingPeriodicTasksAfterShutdownPolicy, setExecuteExistingDelayedTasksAfterShutdownPolicy, setRemoveOnCancelPolicy, shutdown, shutdownNow, submit, submit, submitallowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, terminated, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskForclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedpublic ScheduledThreadPoolExecutorX(int _corePoolSize, ThreadFactory _threadFactory)
public ScheduledThreadPoolExecutorX(int _corePoolSize, ThreadFactory _threadFactory, Catcher<Runnable> _catcher)
public Catcher<Runnable> catcher()
protected void afterExecute(Runnable r, Throwable t)
afterExecute in class ThreadPoolExecutor