public class EsThreadPoolExecutor extends ThreadPoolExecutor
Modifier and Type | Class and Description |
---|---|
static interface |
EsThreadPoolExecutor.ShutdownListener |
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable command) |
void |
shutdown(EsThreadPoolExecutor.ShutdownListener listener) |
protected void |
terminated() |
String |
toString() |
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, 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
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
public void shutdown(EsThreadPoolExecutor.ShutdownListener listener)
protected void terminated()
terminated
in class ThreadPoolExecutor
public void execute(Runnable command)
execute
in interface Executor
execute
in class ThreadPoolExecutor
public String toString()
toString
in class ThreadPoolExecutor
Copyright © 2009–2016. All rights reserved.