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

Method errorsAdd

ZezeJava/ZezeJava/src/main/java/Zeze/Raft/Test.java:176–182  ·  view source on GitHub ↗
(long resultCode)

Source from the content-addressed store, hash-verified

174 }
175
176 private void errorsAdd(long resultCode) {
177 if (resultCode == 0)
178 return;
179 if (resultCode == Procedure.RaftApplied)
180 return;
181 errors.compute(resultCode, (__, n) -> n != null ? n + 1 : 1);
182 }
183
184 private long errorsSum() {
185 long sum = 0;

Callers 1

concurrentAddCountMethod · 0.95

Calls 1

computeMethod · 0.45

Tested by

no test coverage detected