GetWrite returns Write atomically.
()
| 876 | |
| 877 | // GetWrite returns Write atomically. |
| 878 | func (s *TxStats) GetWrite() int64 { |
| 879 | return atomic.LoadInt64(&s.Write) |
| 880 | } |
| 881 | |
| 882 | // IncWrite increases Write atomically and returns the new value. |
| 883 | func (s *TxStats) IncWrite(delta int64) int64 { |
no outgoing calls