public void Commit() { var real = new CacheInfo(statstore); real.LockStatsCall(() => { real.SlowHitCount += this.SlowHitCount; real.CacheUnsupported += this.CacheUnsupported; real.CacheSize += this.CacheSize; real.CacheObjects += this.CacheObjects; real.CacheMisses += this.CacheMisses; real.CacheHits += this.CacheHits; }); }