线程池
2020-11-26 22:00:48 8 举报
java线程池和spring线程池
作者其他创作
大纲/内容
SyncTaskExecutor
+ execute(params: Runnable)
TaskExecutor
RejectExecutionHandler
Executor
ExecutorService
+ shutdwon()+ submit(task: Runnable): Future<?>
AbstractExecutorService
+ shutdwon()+ submit(task: Runnable):Future<?>
SimpleAsyncTaskExecutor
SimpleThreadPoolTaskExecutor
DefaultThreadFactory
+newThread(r: Runnable): Thread
ThreadFactory
namePrefix: String
AbstractQueuedSynchronizer
JDK
SimpleThreadPool(Quartz)
ThreadPoolExecutor
workQueue: BlockingQueue(Rnnable>workers: HashSet<Worker>
ThreadPoolTaskExecutor
Worker
run():void
Spring
收藏
0 条评论
下一页