GetCursorCount returns CursorCount atomically.
()
| 796 | |
| 797 | // GetCursorCount returns CursorCount atomically. |
| 798 | func (s *TxStats) GetCursorCount() int64 { |
| 799 | return atomic.LoadInt64(&s.CursorCount) |
| 800 | } |
| 801 | |
| 802 | // IncCursorCount increases CursorCount atomically and return the new value. |
| 803 | func (s *TxStats) IncCursorCount(delta int64) int64 { |
no outgoing calls