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

Method IncNodeDeref

tx.go:823–825  ·  view source on GitHub ↗

IncNodeDeref increases NodeDeref atomically and returns the new value.

(delta int64)

Source from the content-addressed store, hash-verified

821
822// IncNodeDeref increases NodeDeref atomically and returns the new value.
823func (s *TxStats) IncNodeDeref(delta int64) int64 {
824 return atomic.AddInt64(&s.NodeDeref, delta)
825}
826
827// GetRebalance returns Rebalance atomically.
828func (s *TxStats) GetRebalance() int64 {

Callers 3

addMethod · 0.95
dereferenceMethod · 0.80

Calls

no outgoing calls

Tested by 1