IncRebalanceTime increases RebalanceTime atomically and returns the new value.
(delta time.Duration)
| 841 | |
| 842 | // IncRebalanceTime increases RebalanceTime atomically and returns the new value. |
| 843 | func (s *TxStats) IncRebalanceTime(delta time.Duration) time.Duration { |
| 844 | return atomicAddDuration(&s.RebalanceTime, delta) |
| 845 | } |
| 846 | |
| 847 | // GetSplit returns Split atomically. |
| 848 | func (s *TxStats) GetSplit() int64 { |