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

Method tryInitThreadPool

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Task.java:136–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 public static boolean tryInitThreadPool() {
137 return tryInitThreadPool(null);
138 }
139
140 public static boolean tryInitThreadPool(@Nullable Application app) {
141 return tryInitThreadPool(app, null, null);

Callers 15

testBenchmarkMethod · 0.95
testBenchmark2Method · 0.95
testCyclicBarrierMethod · 0.95
testCyclicBarrier2Method · 0.95
testRoleTimer1Method · 0.95
testRoleTimerCron1Method · 0.95
testRoleTimer2Method · 0.95
testRoleTimerCron2Method · 0.95
benchRoleTimerMethod · 0.95
testRoleTimer1Method · 0.95
testRoleTimer2Method · 0.95
test3Method · 0.95

Calls 8

newFixedThreadPoolMethod · 0.95
newCriticalThreadPoolMethod · 0.95
startDiagnoseMethod · 0.95
getWorkerThreadsMethod · 0.80
getScheduledThreadsMethod · 0.80
lockMethod · 0.65
unlockMethod · 0.65
getConfigMethod · 0.45

Tested by 15

testBenchmarkMethod · 0.76
testBenchmark2Method · 0.76
testCyclicBarrierMethod · 0.76
testCyclicBarrier2Method · 0.76
testRoleTimer1Method · 0.76
testRoleTimerCron1Method · 0.76
testRoleTimer2Method · 0.76
testRoleTimerCron2Method · 0.76
benchRoleTimerMethod · 0.76
testRoleTimer1Method · 0.76
testRoleTimer2Method · 0.76
test3Method · 0.76