Class Overview (Velocity)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The following table lists some of the classes and interfaces that are used to program using the Microsoft project code named "Velocity" API. For more details, see the class library for the Microsoft.Data.Caching namespace.

Class or Interface Name Description

DataCacheFactory class

Provides methods to return DataCache objects that are mapped to a named cache. The constructor of this class also enables programmatic configuration of the cache client.

Note: For performance reasons, we recommend that you minimize the number of DataCacheFactory objects created in a cache-enabled application. Store the DataCacheFactory object in a variable available to all parts of the application that use cache clients.

DataCache class

Used to Add, Put, or Remove objects to or from the cache. Once instantiated, this object is referred to as the cache client.

DataCacheItem class

Returns data associated with a cached object, which includes the cached object itself. The CacheItem class also includes the key, tags, and version, together with the name of the cache and region it is stored in.

DataCacheTag class

A string identifier that is used for locating cached objects.

DataCacheItemVersion class

A numeric value that is used to identify the version of cached objects.

DataCacheLockHandle class

Acts as a key for locking and unlocking cached objects.

DataCacheException class

Used for capturing and passing cache-based exceptions.

See Also

Concepts

Cache Notifications Methods (Velocity)
Basic Cache Methods (Velocity)
Tag-Based Methods (Velocity)
Concurrency Methods (Velocity)
Configuration Methods (Velocity)

Other Resources

Using Basic Cache Methods (Velocity)
Cache Concepts (Velocity)