func (queue *Queue) Reset() {
	queue.lock.Lock()
	defer queue.lock.Unlock()
	queue.lastResetTime = time.Now()
	queue.buffer = queue.buffer[:0]
}
func (queue *Queue) Reset() {
	queue.lock.Lock()
	defer queue.lock.Unlock()
	queue.lastResetTime = time.Now()
	queue.buffer = queue.buffer[:0]
}
func ( queue * Queue ) Reset ( ) { queue . lock . Lock ( ) defer queue . lock . Unlock ( ) queue . lastResetTime = time . Now ( ) queue . buffer = queue . buffer [ : 0 ] }
// Reset resets the stats queue.
Reset resets the stats queue .