MCPcopy Create free account
hub / github.com/Tencent/phxqueue / Next

Method Next

phxqueue/lock/lockdb.cpp:483–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void LockDb::Next() {
484 if (Type::MAP == type_) {
485 ++map_it_;
486 } else if (Type::LEVELDB == type_) {
487 leveldb_it_->Next();
488 }
489}
490
491bool LockDb::Valid() {
492 if (Type::MAP == type_) {

Callers 1

InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected