1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-26 16:13:19 +00:00
Radarr/src/NzbDrone.Common/Cache/ICachedDictionary.cs
2016-12-23 13:45:24 -08:00

17 lines
441 B
C#

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