textbender.g.util.concurrent
Class ScheduledThreadPoolExecutorL
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
java.util.concurrent.ScheduledThreadPoolExecutor
ScheduledThreadPoolExecutorL
- All Implemented Interfaces:
- Executor, ExecutorService, ScheduledExecutorService
public class ScheduledThreadPoolExecutorL
- extends ScheduledThreadPoolExecutor
A ScheduledThreadPoolExecutor that logs uncaught exceptions.
Methods inherited from class java.util.concurrent.ScheduledThreadPoolExecutor |
decorateTask, decorateTask, execute, getContinueExistingPeriodicTasksAfterShutdownPolicy, getExecuteExistingDelayedTasksAfterShutdownPolicy, getQueue, remove, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, setContinueExistingPeriodicTasksAfterShutdownPolicy, setExecuteExistingDelayedTasksAfterShutdownPolicy, shutdown, shutdownNow, submit, submit, submit |
Methods inherited from class java.util.concurrent.ThreadPoolExecutor |
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, terminated |
ScheduledThreadPoolExecutorL
public ScheduledThreadPoolExecutorL(int corePoolSize,
ThreadFactory threadFactory)
afterExecute
protected void afterExecute(Runnable r,
Throwable t)
- Logs the throwable.
- Overrides:
afterExecute
in class ThreadPoolExecutor