private void UpdateCache(IEnumerable <T> data) { CacheLock.Write(Lock, () => { primaryCache.Update(data); secondaryCaches.Update(data); }); }