| 程序包 | 说明 |
|---|---|
| com.dtp.core | |
| com.dtp.core.convert | |
| com.dtp.core.notify.manager | |
| com.dtp.core.support | |
| com.dtp.core.thread |
| 限定符和类型 | 方法和说明 |
|---|---|
static DtpExecutor |
DtpRegistry.getDtpExecutor(String name)
Get Dynamic ThreadPoolExecutor by thread pool name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
DtpRegistry.registerDtp(DtpExecutor executor,
String source)
Register a DtpExecutor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ThreadPoolStats |
MetricsConverter.convert(DtpExecutor executor) |
static DtpMainProp |
ExecutorConverter.convert(DtpExecutor dtpExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
AlarmManager.doAlarmAsync(DtpExecutor executor,
List<NotifyItemEnum> notifyItemEnums) |
static void |
AlarmManager.doAlarmAsync(DtpExecutor executor,
NotifyItemEnum notifyType) |
static void |
NotifyHelper.initNotify(DtpExecutor executor,
List<NotifyPlatform> platforms) |
| 限定符和类型 | 方法和说明 |
|---|---|
DtpExecutor |
ThreadPoolBuilder.buildDynamic()
Build a dynamic ThreadPoolExecutor.
|
static DtpExecutor |
ThreadPoolCreator.createDynamicFast(String poolName) |
static DtpExecutor |
ThreadPoolCreator.createDynamicFast(String poolName,
String threadPrefix) |
| 构造器和说明 |
|---|
ExecutorWrapper(DtpExecutor executor) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
EagerDtpExecutor
When core threads are all in busy,
create new thread instead of putting task into blocking queue,
mainly used in io intensive scenario.
|
class |
OrderedDtpExecutor
OrderedDtpExecutor can ensure that the delivered tasks are executed
according to the key and task submission order. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<DtpExecutor> |
OrderedDtpExecutor.executors |
| 限定符和类型 | 方法和说明 |
|---|---|
protected DtpExecutor |
OrderedDtpExecutor.choose(Object arg) |
Copyright © 2023. All rights reserved.