类 CustomThreadPoolExecutor
- java.lang.Object
-
- java.util.concurrent.AbstractExecutorService
-
- java.util.concurrent.ThreadPoolExecutor
-
- net.sinodawn.framework.executor.custom.CustomThreadPoolExecutor
-
- 所有已实现的接口:
Executor,ExecutorService
public class CustomThreadPoolExecutor extends ThreadPoolExecutor
-
-
嵌套类概要
-
从类继承的嵌套类/接口 java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
-
-
构造器概要
构造器 构造器 说明 CustomThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected <T> RunnableFuture<T>newTaskFor(Callable<T> callable)-
从类继承的方法 java.util.concurrent.ThreadPoolExecutor
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, 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, terminated, toString
-
从类继承的方法 java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, submit, submit, submit
-
-
-
-
方法详细资料
-
newTaskFor
protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable)
- 覆盖:
newTaskFor在类中AbstractExecutorService
-
-