IObjectCacheRepository
using System;
namespace Relativity.Transfer
{
internal interface IObjectCacheRepository : IDisposable
{
long Count { get; }
TimeSpan Expiration { get; set; }
void Clear();
bool Contains(string key);
void Delete(string key);
TEntity SelectByKey<TEntity>(string key);
void Upsert(string key, object value);
void Upsert(string key, object value, TimeSpan expiration);
}
}