类概述(Windows Server AppFabric 缓存)

下表列出了用于使用 Windows Server AppFabric 的缓存功能编程的一些类和接口。有关详细信息,请参阅 Microsoft.ApplicationServer.Caching 命名空间的类库。

分区标题

类或接口名称

描述

DataCacheFactoryConfiguration

用于以编程方式配置缓存客户端。这包括有关缓存主机和选项位置(如本地缓存)的信息。可将此对象传递给 DataCacheFactory 对象的构造函数。

DataCacheFactory

提供用于返回映射到命名缓存的 DataCache 对象的方法。还可以使用此类的构造函数以编程方式配置缓存客户端。

DataCache

用于向缓存中添加、放置对象或从缓存中删除对象。实例化之后,此对象即称为缓存客户端。

DataCacheItem

返回与缓存对象相关联的数据,包括缓存的对象本身。DataCacheItem 类还包括密匙、标记和版本,以及存储在类中的缓存和区域的名称。

DataCacheTag

用于查找缓存对象的字符串标识符。

DataCacheItemVersion

用于标识缓存对象版本的数值。

DataCacheLockHandle

用作锁定和解锁缓存对象的密匙。

DataCacheException

用于捕获和传递基于缓存的异常。

另请参阅

概念

缓存通知(Windows Server AppFabric 缓存)
基本缓存方法(Windows Server AppFabric 缓存)
基于标记的方法(Windows Server AppFabric 缓存)
并发方法(Windows Server AppFabric 缓存)
配置方法(Windows Server AppFabric 缓存)
使用基本缓存方法(Windows Server AppFabric 缓存)
Windows Server AppFabric 缓存概念

  2011-12-05