Change the definition of thread pool adapter interface

pull/233/head
chen.ma 3 years ago
parent 0175fcc651
commit 662be42832

@ -32,16 +32,17 @@ public interface ThreadPoolAdapter {
/** /**
* Get the core parameters of the framework thread pool. * Get the core parameters of the framework thread pool.
* *
* @param identify {@link ThreadPoolAdapter#mark} + Thread pool unique id
* @return * @return
*/ */
ThreadPoolAdapterState getThreadPoolStateInfo(); ThreadPoolAdapterState getThreadPoolStateInfo(String identify);
/** /**
* Modify the core parameters of the framework thread pool. * Modify the core parameters of the framework thread pool.
* *
* @param mark {@link ThreadPoolAdapter#mark} * @param identify {@link ThreadPoolAdapter#mark} + Thread pool unique id
* @param threadPoolAdapterParameter Thread pool parameters to be modified * @param threadPoolAdapterParameter Thread pool parameters to be modified
* @return * @return
*/ */
boolean updateThreadPool(String mark, ThreadPoolAdapterParameter threadPoolAdapterParameter); boolean updateThreadPool(String identify, ThreadPoolAdapterParameter threadPoolAdapterParameter);
} }

Loading…
Cancel
Save