using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RoadFlow.Cache.Interface
{
public interface ICache
{
///
/// 插入缓存
///
///
///
///
bool Insert(string key, object obj);
///
/// 插入缓存
///
///
///
///
bool Insert(string key, object obj, DateTime expiry);
///
/// 获取缓存
///
///
///
object Get(string key);
///
/// 移出缓存
///
///
bool Remove(string key);
///
/// 移出所有缓存
///
///
void RemoveAll();
}
}