Counter returns the current state of the BatchMutation.
()
| 480 | |
| 481 | // Counter returns the current state of the BatchMutation. |
| 482 | func (l *loader) Counter() Counter { |
| 483 | return Counter{ |
| 484 | Nquads: atomic.LoadUint64(&l.nquads), |
| 485 | TxnsDone: atomic.LoadUint64(&l.txns), |
| 486 | Elapsed: time.Since(l.start), |
| 487 | Aborts: atomic.LoadUint64(&l.aborts), |
| 488 | } |
| 489 | } |
no outgoing calls
no test coverage detected