public class DebuggableScheduledThreadPoolExecutor
extends java.util.concurrent.ScheduledThreadPoolExecutor
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 |
|---|---|
static java.util.concurrent.RejectedExecutionHandler |
rejectedExecutionHandler |
| Constructor and Description |
|---|
DebuggableScheduledThreadPoolExecutor(int corePoolSize,
java.lang.String threadPoolName,
int priority) |
DebuggableScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory) |
DebuggableScheduledThreadPoolExecutor(java.lang.String threadPoolName) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecute(java.lang.Runnable r,
java.lang.Throwable t) |
java.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit) |
decorateTask, decorateTask, execute, getContinueExistingPeriodicTasksAfterShutdownPolicy, getExecuteExistingDelayedTasksAfterShutdownPolicy, getQueue, getRemoveOnCancelPolicy, schedule, schedule, 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, newTaskForpublic static final java.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler
public DebuggableScheduledThreadPoolExecutor(int corePoolSize,
java.lang.String threadPoolName,
int priority)
public DebuggableScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory)
public DebuggableScheduledThreadPoolExecutor(java.lang.String threadPoolName)
public void afterExecute(java.lang.Runnable r,
java.lang.Throwable t)
afterExecute in class java.util.concurrent.ThreadPoolExecutorpublic java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate in interface java.util.concurrent.ScheduledExecutorServicescheduleAtFixedRate in class java.util.concurrent.ScheduledThreadPoolExecutorpublic java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit)
scheduleWithFixedDelay in interface java.util.concurrent.ScheduledExecutorServicescheduleWithFixedDelay in class java.util.concurrent.ScheduledThreadPoolExecutorCopyright © 2016 The Apache Software Foundation