func (c *Component) Total(total uint64) {
	atomic.StoreUint64(c.total, total)
	atomic.StoreInt32(c.ready, 1)
	c.status.update()
}
// Total sets the total and sets ready to true.
Total sets the total and sets ready to true.
// Total sets the total and sets ready to true .
func (c *Component) Total(total uint64) {
	atomic.StoreUint64(c.total, total)
	atomic.StoreInt32(c.ready, 1)
	c.status.update()
}
func ( c * Component ) Total ( total uint64 ) { atomic . StoreUint64 ( c . total , total ) atomic . StoreInt32 ( c . ready , 1 ) c . status . update ( ) }
Total sets the total and sets ready to true.
Total sets the total and sets ready to true .