private static void ScanForExpiredItems(MemoryCache cache)
        {
            var now = cache._clock.UtcNow;

            foreach (var entry in cache._entries.Values)
            {
                if (entry.CheckExpired(now))
                {
                    cache.RemoveEntry(entry);
                }
            }
        }