public class ThreadPoolExecutorOperations extends Object
| 构造器和说明 |
|---|
ThreadPoolExecutorOperations() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear()
clear
|
boolean |
containsKey(String poolName)
containsKey
|
ThreadPoolExecutor |
get(String poolName)
get
|
Set<String> |
keys()
keys
|
void |
put(String poolName,
ThreadPoolExecutor executor)
put
|
Collection<ThreadPoolExecutor> |
values()
values
|
public void put(String poolName, ThreadPoolExecutor executor)
poolName - thread pool nameexecutor - java.util.concurrent.ThreadPoolExecutorpublic boolean containsKey(String poolName)
poolName - thread pool namepublic ThreadPoolExecutor get(String poolName)
poolName - thread pool namepublic Collection<ThreadPoolExecutor> values()
public void clear()
Copyright © 2021. All rights reserved.