java.util.concurrent.Executor, java.util.concurrent.ExecutorService, java.util.concurrent.ScheduledExecutorServicepublic class HadoopScheduledThreadPoolExecutor
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| Constructor | Description |
|---|---|
HadoopScheduledThreadPoolExecutor(int corePoolSize) |
|
HadoopScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.RejectedExecutionHandler handler) |
|
HadoopScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory) |
|
HadoopScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory,
java.util.concurrent.RejectedExecutionHandler handler) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
afterExecute(java.lang.Runnable r,
java.lang.Throwable t) |
|
protected void |
beforeExecute(java.lang.Thread t,
java.lang.Runnable r) |
decorateTask, decorateTask, execute, getContinueExistingPeriodicTasksAfterShutdownPolicy, getExecuteExistingDelayedTasksAfterShutdownPolicy, getQueue, getRemoveOnCancelPolicy, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, setContinueExistingPeriodicTasksAfterShutdownPolicy, setExecuteExistingDelayedTasksAfterShutdownPolicy, setRemoveOnCancelPolicy, shutdown, shutdownNow, submit, submit, submitallowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, 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 HadoopScheduledThreadPoolExecutor(int corePoolSize)
public HadoopScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory)
public HadoopScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.RejectedExecutionHandler handler)
public HadoopScheduledThreadPoolExecutor(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory,
java.util.concurrent.RejectedExecutionHandler handler)
protected void beforeExecute(java.lang.Thread t,
java.lang.Runnable r)
beforeExecute in class java.util.concurrent.ThreadPoolExecutorprotected void afterExecute(java.lang.Runnable r,
java.lang.Throwable t)
afterExecute in class java.util.concurrent.ThreadPoolExecutorCopyright © 2008–2025 Apache Software Foundation. All rights reserved.