public final class ExecutorUtil
extends java.lang.Object
构造器和说明 |
---|
ExecutorUtil() |
限定符和类型 | 方法和说明 |
---|---|
static <T> boolean |
safeEnd(StableKeyExecutor<T> executor,
java.util.List<T> args)
安全删除
|
static <T> boolean |
safeStart(StableKeyExecutor<T> executor,
java.util.List<T> args)
安全的运行,带有回滚
|
public static <T> boolean safeStart(StableKeyExecutor<T> executor, java.util.List<T> args)
executor
- 运行器args
- 参数public static <T> boolean safeEnd(StableKeyExecutor<T> executor, java.util.List<T> args)
executor
- 运行代理args
- 参数