Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/e2wugui/zeze
/ getSuccessCounter
Method
getSuccessCounter
ZezeJava/ZezeJavaTest/src/Infinite/Tasks.java:42–44 ·
view source on GitHub ↗
(String name)
Source
from the content-addressed store, hash-verified
40
}
41
42
static
LongAdder getSuccessCounter(String name) {
43
return
CounterSuccess.computeIfAbsent(name, __ ->
new
LongAdder());
44
}
45
46
static
void
clearAllCounters() {
47
CounterKey.clear();
Callers
3
verify
Method · 0.80
call
Method · 0.80
verify
Method · 0.80
Calls
1
computeIfAbsent
Method · 0.65
Tested by
no test coverage detected