MCPcopy
hub / github.com/etcd-io/bbolt / IncNodeCount

Method IncNodeCount

tx.go:813–815  ·  view source on GitHub ↗

IncNodeCount increases NodeCount atomically and returns the new value.

(delta int64)

Source from the content-addressed store, hash-verified

811
812// IncNodeCount increases NodeCount atomically and returns the new value.
813func (s *TxStats) IncNodeCount(delta int64) int64 {
814 return atomic.AddInt64(&s.NodeCount, delta)
815}
816
817// GetNodeDeref returns NodeDeref atomically.
818func (s *TxStats) GetNodeDeref() int64 {

Callers 3

addMethod · 0.95
nodeMethod · 0.80

Calls

no outgoing calls

Tested by 1