Method
walkKey
(Func1<K, Boolean> callback)
Source from the content-addressed store, hash-verified
| 280 | } |
| 281 | |
| 282 | public boolean walkKey(Func1<K, Boolean> callback) throws Exception { |
| 283 | try (var it = rocksTable.iterator()) { |
| 284 | for (it.seekToFirst(); it.isValid(); it.next()) { |
| 285 | var key = keyDecodeFunc.apply(ByteBuffer.Wrap(it.key())); |
| 286 | if (!callback.call(key)) |
| 287 | return false; |
| 288 | } |
| 289 | return true; |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | public Record<K> followerApply(K key, Changes.Record rLog) { |
| 294 | Record<K> r; |
Callers
nothing calls this directly
Tested by
no test coverage detected