MCPcopy Create free account
hub / github.com/AdRoll/baker / Stats

Method Stats

output/stats.go:337–342  ·  view source on GitHub ↗

Stats implements baker.Output

()

Source from the content-addressed store, hash-verified

335
336// Stats implements baker.Output
337func (s *Stats) Stats() baker.OutputStats {
338 return baker.OutputStats{
339 NumProcessedLines: int64(atomic.LoadUint64(&s.totaln)),
340 NumErrorLines: int64(atomic.LoadUint64(&s.errn)),
341 }
342}
343
344// CanShard implements baker.Output
345func (s *Stats) CanShard() bool { return true }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected