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

Method scheduleUnsafe

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Task.java:352–354  ·  view source on GitHub ↗
(long initialDelay, @NotNull Action0 action)

Source from the content-addressed store, hash-verified

350 }
351
352 public static @NotNull ScheduledFuture<?> scheduleUnsafe(long initialDelay, @NotNull Action0 action) {
353 return scheduleUnsafe(initialDelay, action, defaultTimeout);
354 }
355
356 public static @NotNull ScheduledFuture<?> scheduleUnsafe(long initialDelay, @NotNull Action0 action, long timeout) {
357 return threadPoolScheduled.schedule(() -> {

Callers 15

testCyclicBarrierMethod · 0.95
testCyclicBarrier2Method · 0.95
mainMethod · 0.95
LinkdServiceMethod · 0.95
startMethod · 0.95
startLocalCheckMethod · 0.95
initMethod · 0.95
RaftMethod · 0.95
runTraceMethod · 0.95
watchMethod · 0.95
TableCacheMethod · 0.95
startMethod · 0.95

Calls 11

createTimeoutMethod · 0.95
forceThrowMethod · 0.95
setFutureMethod · 0.95
isCancelledMethod · 0.95
scheduleMethod · 0.65
createMethod · 0.65
runMethod · 0.65
addTaskRunTimeMethod · 0.65
callMethod · 0.65
lockMethod · 0.65
unlockMethod · 0.65

Tested by 4

testCyclicBarrierMethod · 0.76
testCyclicBarrier2Method · 0.76
mainMethod · 0.76
runTraceMethod · 0.76