MCPcopy Create free account
hub / github.com/e2wugui/zeze / runUnsafe

Method runUnsafe

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Task.java:243–245  ·  view source on GitHub ↗
(@NotNull Action0 action, @Nullable String name)

Source from the content-addressed store, hash-verified

241
242 // 注意: 以Unsafe结尾的方法在事务中也会立即异步执行,即使之后该事务redo或rollback也无法撤销,很可能不是想要的结果,所以小心使用
243 public static @NotNull Future<?> runUnsafe(@NotNull Action0 action, @Nullable String name) {
244 return runUnsafe(action, name, DispatchMode.Normal);
245 }
246
247 public static @NotNull Future<?> runUnsafe(@NotNull Action0 action, @Nullable String name,
248 @Nullable DispatchMode mode) {

Callers 15

testBenchmarkMethod · 0.95
benchMethod · 0.95
benchRoleTimerMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
submitTasksMethod · 0.95
RunMethod · 0.95
startBenchMethod · 0.95
testMethod · 0.95
testAutoKeyConflictMethod · 0.95
teatAutoKeyWithInsertMethod · 0.95
testProcedureRedoMethod · 0.95

Calls 9

setResultMethod · 0.95
setExceptionMethod · 0.95
createTimeoutMethod · 0.95
callMethod · 0.95
runMethod · 0.65
getNameMethod · 0.65
addTaskRunTimeMethod · 0.65
createMethod · 0.65
submitMethod · 0.45

Tested by 15

testBenchmarkMethod · 0.76
benchMethod · 0.76
benchRoleTimerMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
submitTasksMethod · 0.76
RunMethod · 0.76
startBenchMethod · 0.76
testMethod · 0.76
testAutoKeyConflictMethod · 0.76
teatAutoKeyWithInsertMethod · 0.76
testProcedureRedoMethod · 0.76