GetNodeDeref returns NodeDeref atomically.
()
| 816 | |
| 817 | // GetNodeDeref returns NodeDeref atomically. |
| 818 | func (s *TxStats) GetNodeDeref() int64 { |
| 819 | return atomic.LoadInt64(&s.NodeDeref) |
| 820 | } |
| 821 | |
| 822 | // IncNodeDeref increases NodeDeref atomically and returns the new value. |
| 823 | func (s *TxStats) IncNodeDeref(delta int64) int64 { |
no outgoing calls