public interface DtpAdapter extends MetricsAware
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
checkRefreshParams(int oldMaxPoolSize,
com.dtp.common.config.SimpleTpProperties properties)
Check update params.
|
default com.dtp.common.dto.ExecutorWrapper |
getExecutorWrapper()
Get specify thread pool executor wrapper.
|
default Map<String,com.dtp.common.dto.ExecutorWrapper> |
getExecutorWrappers()
Get executor wrappers.
|
void |
refresh(com.dtp.common.config.DtpProperties dtpProperties)
Refresh the thread pool with specify properties.
|
getMultiPoolStats, getPoolStatsdefault com.dtp.common.dto.ExecutorWrapper getExecutorWrapper()
default Map<String,com.dtp.common.dto.ExecutorWrapper> getExecutorWrappers()
void refresh(com.dtp.common.config.DtpProperties dtpProperties)
dtpProperties - the targeted dtpPropertiesdefault void checkRefreshParams(int oldMaxPoolSize,
com.dtp.common.config.SimpleTpProperties properties)
oldMaxPoolSize - old maxPoolSizeproperties - the targeted propertiesCopyright © 2022. All rights reserved.