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 Code |
---|---|
public class CacheItem |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class CacheItem |
The type exposes the following methods.
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetExpirations |
Returns array of ICacheItemExpiration objects for this instance.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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.
|
|
MakeEligibleForScavenging |
Makes the cache item eligible for scavenging.
|
|
MakeNotEligibleForScavenging |
Makes the cache item not eligible for scavenging.
|
|
ToString | (Inherited from Object.) | |
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 | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
See Also
Smartsite.Tools.Caching Namespace