2026-03-04 09:05:31 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
2026-03-27 10:53:02 +08:00
|
|
|
|
namespace YD_YiLu.Commons.MemoryCaches
|
2026-03-04 09:05:31 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 缓存接口
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface ICaching
|
|
|
|
|
|
{
|
|
|
|
|
|
object Get(string cacheKey);
|
|
|
|
|
|
|
|
|
|
|
|
void Set(string cacheKey, object cacheValue);
|
|
|
|
|
|
|
|
|
|
|
|
void Update(string cacheKey, object cacheValue);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|