DataCacheItem Class

 

Used to retrieve all information associated with the cached object in the cluster.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheItem

Syntax

[DataContractAttribute(Name = "DataCacheItem", Namespace = "https://schemas.microsoft.com/velocity/namespace")]
public sealed class DataCacheItem
[DataContractAttribute(Name = "DataCacheItem", Namespace = "https://schemas.microsoft.com/velocity/namespace")]
public ref class DataCacheItem sealed 
[<Sealed>]
[<DataContractAttribute(Name = "DataCacheItem", Namespace = "https://schemas.microsoft.com/velocity/namespace")>]
type DataCacheItem = class end
<DataContractAttribute(Name := "DataCacheItem", Namespace := "https://schemas.microsoft.com/velocity/namespace")>
Public NotInheritable Class DataCacheItem

Constructors

Name Description
System_CAPS_pubmethod DataCacheItem()

Initializes a new instance of the DataCacheItem class.

Properties

Name Description
System_CAPS_pubproperty CacheName

The name of the cache where the object is stored.

System_CAPS_pubproperty ExtensionTimeout

The amount of time to extend the object lifetime on each access.

System_CAPS_pubproperty Key

The identifier that is used to distinguish the cached object in the cache or region.

System_CAPS_pubproperty RegionName

If applicable, the name of the region where the object is stored.

System_CAPS_pubproperty Size

This API supports the product infrastructure and is not intended to be used directly from your code. The approximate size of the cached item. This field is intended for internal use only.

System_CAPS_pubproperty Tags

A generic list of tags associated with the cached object.

System_CAPS_pubproperty Timeout

Specifies the length of time for which the object will remain in the cache.

System_CAPS_pubproperty Value

The object stored in cache.

System_CAPS_pubproperty Version

The version of the cached object.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a string representation of the DataCacheItem object.(Overrides Object.ToString().)

Remarks

The DataCacheItem class is useful for updating tags associated with the object and concurrency operations.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ApplicationServer.Caching Namespace

Return to top