()
| 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); |
nothing calls this directly
no test coverage detected