private void UpdateUniqueSample <T1>(IndexEntryUpdate <T1> update) { switch (update.UpdateMode()) { case ADDED: _uniqueSampler.increment(1); break; case REMOVED: _uniqueSampler.increment(-1); break; case CHANGED: break; default: throw new System.ArgumentException("Unsupported update mode type:" + update.UpdateMode()); } }
protected internal override void Added <T1>(IndexEntryUpdate <T1> update) { _sampler.increment(1); _updatedValueTuples.Add(update.Values()); }