Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testBenchmark
Method · 0.95
testBenchmark2
Method · 0.95
testCyclicBarrier
Method · 0.95
testCyclicBarrier2
Method · 0.95
testRoleTimer1
Method · 0.95
testRoleTimerCron1
Method · 0.95
testRoleTimer2
Method · 0.95
testRoleTimerCron2
Method · 0.95
benchRoleTimer
Method · 0.95
testRoleTimer1
Method · 0.95
testRoleTimer2
Method · 0.95
test3
Method · 0.95
Calls
8
newFixedThreadPool
Method · 0.95
newCriticalThreadPool
Method · 0.95
startDiagnose
Method · 0.95
getWorkerThreads
Method · 0.80
getScheduledThreads
Method · 0.80
lock
Method · 0.65
unlock
Method · 0.65
getConfig
Method · 0.45
Tested by
15
testBenchmark
Method · 0.76
testBenchmark2
Method · 0.76
testCyclicBarrier
Method · 0.76
testCyclicBarrier2
Method · 0.76
testRoleTimer1
Method · 0.76
testRoleTimerCron1
Method · 0.76
testRoleTimer2
Method · 0.76
testRoleTimerCron2
Method · 0.76
benchRoleTimer
Method · 0.76
testRoleTimer1
Method · 0.76
testRoleTimer2
Method · 0.76
test3
Method · 0.76