JHCache Class

DCSoft.DBUtilityGeneric

JHCache Class
实现用于 Web 应用程序的缓存,该类为密封类
Inheritance Hierarchy
SystemObject  DCSoft.Utility.WebJHCache

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHCache

The JHCache type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetTtype(String)
获取当前应用程序的 System.Web.Caching.Cache 中存放的指定键的值 如果异常或获取为 null,则返回当前类型的默认值 default(Ttype)
Public methodStatic memberGetTtype(String, Ttype)
获取当前应用程序的 System.Web.Caching.Cache 中存放的指定键的值
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberSet(String, Object, DateTime)
将指定项添加到 System.Web.Caching.Cache 对象 使用较高的优先级别,在服务器释放系统内存时,具有该优先级级别的缓存项最不可能被从缓存删除
Public methodStatic memberSet(String, Object, DateTime, CacheItemPriority)
将指定项添加到 System.Web.Caching.Cache 对象
Public methodToString (Inherited from Object.)
Top
See Also