@Deprecated public class TimedExecutor extends ThreadPoolExecutor implements TimedExecutorMBean
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecute(Runnable r,
Throwable t)
Deprecated.
|
protected void |
beforeExecute(Thread t,
Runnable r)
Deprecated.
|
void |
execute(Runnable r)
Deprecated.
|
int |
getMillisExecuting()
Deprecated.
|
int |
getMillisWaiting()
Deprecated.
|
String |
getName()
Deprecated.
|
int |
getQueueSize()
Deprecated.
|
static TimedExecutor |
newInstance(String name,
Logger logger)
Deprecated.
|
protected void |
terminated()
Deprecated.
|
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, 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, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActiveCount, getCompletedTaskCount, getTaskCountpublic static TimedExecutor newInstance(String name, Logger logger)
public String getName()
getName in interface TimedExecutorMBeanpublic int getQueueSize()
getQueueSize in interface TimedExecutorMBeanpublic int getMillisWaiting()
getMillisWaiting in interface TimedExecutorMBeanpublic int getMillisExecuting()
getMillisExecuting in interface TimedExecutorMBeanpublic void execute(Runnable r)
execute in interface Executorexecute in class ThreadPoolExecutorprotected void beforeExecute(Thread t, Runnable r)
beforeExecute in class ThreadPoolExecutorprotected void afterExecute(Runnable r, Throwable t)
afterExecute in class ThreadPoolExecutorprotected void terminated()
terminated in class ThreadPoolExecutorCopyright © 2024 LSST. All rights reserved.