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

Method incrIteratorCount

value.go:751–753  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

749}
750
751func (vlog *valueLog) incrIteratorCount() {
752 atomic.AddInt32(&vlog.numActiveIterators, 1)
753}
754
755func (vlog *valueLog) iteratorCount() int {
756 return int(atomic.LoadInt32(&vlog.numActiveIterators))

Callers 1

NewIteratorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected