Class DefaultGridJsJsonCache

DefaultGridJsJsonCache class

默认的 JSON 缓存实现(L1 内存 + L2 磁盘)

public class DefaultGridJsJsonCache : IGridJsJsonCache

Constructors

NameDescription
DefaultGridJsJsonCache()使用全局 Config 配置创建缓存实例(无参构造函数)
DefaultGridJsJsonCache(GridJsOptions)使用 GridJsOptions 配置创建缓存实例

Methods

NameDescription
ClearAll()
GetCacheKey(string, string)
Invalidate(string)
InvalidateAllForUid(string)
SetJson(string, string)
TryGetJson(string)

See Also