| 程序包 | 说明 |
|---|---|
| cn.ponfee.disjob.common.base | |
| cn.ponfee.disjob.common.concurrent | |
| cn.ponfee.disjob.common.exception |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
RetryTemplate.execute(Throwables.ThrowingRunnable<Throwable> action,
int retryMaxCount,
long retryBackoffPeriod) |
static void |
RetryTemplate.executeQuietly(Throwables.ThrowingRunnable<Throwable> action,
int retryMaxCount,
long retryBackoffPeriod) |
| 限定符和类型 | 方法和说明 |
|---|---|
static LoopThread |
LoopThread.createStarted(String name,
boolean daemon,
int priority,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
static LoopThread |
LoopThread.createStarted(String name,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
| 构造器和说明 |
|---|
LoopThread(String name,
boolean daemon,
int priority,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
LoopThread(String name,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
| 限定符和类型 | 方法和说明 |
|---|---|
default Throwables.ThrowingRunnable<Throwable> |
Throwables.ThrowingSupplier.toRunnable() |
default Throwables.ThrowingRunnable<T> |
Throwables.ThrowingCallable.toRunnable() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
Throwables.ThrowingRunnable.doCaught(Throwables.ThrowingRunnable<?> runnable) |
static void |
Throwables.ThrowingRunnable.doCaught(Throwables.ThrowingRunnable<?> runnable,
Supplier<String> message) |
static void |
Throwables.ThrowingRunnable.doChecked(Throwables.ThrowingRunnable<?> runnable) |
static Runnable |
Throwables.ThrowingRunnable.toCaught(Throwables.ThrowingRunnable<?> runnable) |
static Runnable |
Throwables.ThrowingRunnable.toCaught(Throwables.ThrowingRunnable<?> runnable,
Supplier<String> message) |
static Runnable |
Throwables.ThrowingRunnable.toChecked(Throwables.ThrowingRunnable<?> runnable) |
Copyright © 2024. All rights reserved.