This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class CacheItem
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class CacheItem

The type exposes the following members.

Public Constructors

  Name Description
Public method CacheItem Overloaded.

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetExpirations
Returns array of ICacheItemExpiration objects for this instance.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasExpired
Evaluates all cacheItemExpirations associated with this cache item to determine if it should be considered expired. Evaluation stops as soon as any expiration returns true.
Public method MakeEligibleForScavenging
Makes the cache item eligible for scavenging.
Public method MakeNotEligibleForScavenging
Makes the cache item not eligible for scavenging.
Public method ToString (Inherited from Object.)
Public method TouchedByUserAction
Intended to be used internally only. This method is called whenever a CacheItem is touched through the action of a user. It prevents this CacheItem from being expired or scavenged during an in-progress expiration or scavenging process. It has no effect on subsequent expiration or scavenging processes.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property EligibleForScavenging
Intended to be used internally only. The value should be true when an item is eligible for scavenging.
Public property Key
Returns the key associated with this CacheItem
Public property LastAccessedTime
Returns the last accessed time.
Public property RefreshAction
Intended to be used internally only. Returns object used to refresh expired CacheItems.
Public property ScavengingPriority
Returns the CacheItemPriority assigned to this CacheItem
Public property Value
Returns the cached value of this CacheItem
Public property WillBeExpired
Intended to be used internally only. The value should be true when an item is eligible to be expired.

See Also

Advanced