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

Method verifyLocal

ZezeJava/ZezeJava/src/main/java/Zeze/Game/Online.java:1825–1839  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1823 }
1824
1825 private void verifyLocal() throws Exception {
1826 try {
1827 var batch = new VerifyBatch();
1828 // 锁外执行事务
1829 _tlocal.walk((k, v) -> {
1830 batch.add(k);
1831 batch.tryPerform();
1832 return true;
1833 });
1834 batch.perform();
1835 verifyLocalCount.set(batch.getRemainCount());
1836 } finally {
1837 startLocalCheck();
1838 }
1839 }
1840
1841 private long tryRemoveLocal(long roleId, boolean notVerifyCount) throws Exception {
1842 var local = _tlocal.get(roleId);

Callers

nothing calls this directly

Calls 7

addMethod · 0.95
tryPerformMethod · 0.95
performMethod · 0.95
getRemainCountMethod · 0.95
startLocalCheckMethod · 0.95
walkMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected