private void Add(ActivationData item, DateTime ticket) { // note: we expect the activation lock to be held. item.ResetCollectionCancelledFlag(); Bucket bucket = buckets.GetOrAdd( ticket, key => new Bucket(key, quantum)); bucket.Add(item); item.SetCollectionTicket(ticket); }