using System; using System.Collections.Generic; namespace NzbDrone.Common.Cache { public interface ICachedDictionary : ICached { void RefreshIfExpired(); void RefreshIfExpired(TimeSpan ttl); void Refresh(); void Update(IDictionary items); void ExtendTTL(); TValue Get(string key); TValue Find(string key); bool IsExpired(TimeSpan ttl); } }