| 程序包 | 说明 |
|---|---|
| tech.powerjob.common.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
CommonUtils.executeIgnoreException(SupplierPlus<?> executor) |
static <T> T |
CommonUtils.executeWithRetry(SupplierPlus<T> executor,
int tryTimes,
long intervalMS)
重试执行,仅适用于失败抛出异常的方法
|
static <T> T |
CommonUtils.executeWithRetry0(SupplierPlus<T> executor) |
Copyright © 2024. All rights reserved.