C#memcachedキャッシュ使用インスタンスコード
2453 ワード
public interface ICacheStrategy
{
///
///
///
///
///
/// ( )
void Add(string objId, object o, int second);
///
/// ( )
///
///
///
/// ( )
///
void AddCacheDepend(string objId, object o, int second, string[] dependKey);
///
/// ( )
///
///
///
/// ( )
///
void AddFileDepend(string objId, object o, int second, string[] files);
///
///
///
///
void RemoveCache(string objId);
///
///
///
void RemoveCacheAll();
///
///
///
///
///
void RemoveCacheRegex(string pattern);
///
///
///
///
IList GetCacheKeys();
///
///
///
///
///
IList SearchCacheRegex(string pattern);
///
///
///
///
///
object GetCacheData(string objId);
///
///
///
///
///
bool HasCache(string objID);
}