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

Method locateFirst

ZezeJava/ZezeJava/src/main/java/Zeze/Dbh2/Dbh2.java:513–521  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511 private volatile Dbh2Agent dbh2Splitting;
512
513 private RocksIterator locateFirst() {
514 var bucket = stateMachine.getBucket();
515 var it = bucket.getData().iterator();
516 it.seekToFirst();
517 if (it.isValid())
518 return it;
519 it.close();
520 return null;
521 }
522
523 private RocksIterator locateMiddle() throws RocksDBException {
524 var bucket = stateMachine.getBucket();

Callers 1

startSplitMethod · 0.95

Calls 5

getBucketMethod · 0.80
isValidMethod · 0.80
getDataMethod · 0.65
closeMethod · 0.65
iteratorMethod · 0.45

Tested by

no test coverage detected