public void CacheUpdated(object sender, CacheUpdatedEventArgs e) { if (PerformanceCountersEnabled) { cacheTotalEntriesCounter.SetValueFor(counterInstanceName, e.TotalEntriesCount); cacheUpdatedEntriesCounter.IncrementBy(e.UpdatedEntriesCount); } }