public interface DtpAdapter extends MetricsAware
| 限定符和类型 | 方法和说明 |
|---|---|
default boolean |
containsInvalidParams(com.dtp.common.entity.TpExecutorProps props,
org.slf4j.Logger log)
Check update params.
|
default ExecutorWrapper |
getExecutorWrapper()
Get specify thread pool executor wrapper.
|
default Map<String,ExecutorWrapper> |
getExecutorWrappers()
Get executor wrappers.
|
void |
refresh(com.dtp.common.properties.DtpProperties dtpProperties)
Refresh the thread pool with specify properties.
|
getMultiPoolStats, getPoolStatsdefault ExecutorWrapper getExecutorWrapper()
default Map<String,ExecutorWrapper> getExecutorWrappers()
void refresh(com.dtp.common.properties.DtpProperties dtpProperties)
dtpProperties - the targeted dtpPropertiesdefault boolean containsInvalidParams(com.dtp.common.entity.TpExecutorProps props,
org.slf4j.Logger log)
props - the targeted propertieslog - loggerCopyright © 2023. All rights reserved.