MCPcopy
hub / github.com/dgraph-io/badger / iteratorCount

Method iteratorCount

value.go:755–757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

753}
754
755func (vlog *valueLog) iteratorCount() int {
756 return int(atomic.LoadInt32(&vlog.numActiveIterators))
757}
758
759func (vlog *valueLog) decrIteratorCount() error {
760 num := atomic.AddInt32(&vlog.numActiveIterators, -1)

Callers 1

rewriteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected