// Clear out all timeout key-value pairs
Clear out all timeout key-value pairs
// Clear out all timeout key - value pairs
func (q *TimeoutQueue) Clear() {
	q.mu.Lock()
	defer q.mu.Unlock()
	q.blackList = make(map[interface{}]struct{})
	q.index = make(map[interface{}]int)
	q.data = make([]*TimeoutData, 0, 16)
}
func ( q * TimeoutQueue ) Clear ( ) { q . mu . Lock ( ) defer q . mu . Unlock ( ) q . blackList = make ( map [ interface { } ] struct { } ) q . index = make ( map [ interface { } ] int ) q . data = make ( [ ] * TimeoutData , 0 , 16 ) }
Clear out all timeout key-value pairs
Clear out all timeout key - value pairs