Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

FileCache Class Members

Show in webframe
Fields  Properties  Methods  Events





The following tables list the members exposed by FileCache.

Public Constructors
 NameDescription
FileCache ConstructorInitializes a new instance of FileCache.  
Top
Public Fields
 NameDescription
DateFormatFormat to use when storing dates in the XML and JSON formats.  
Top
Public Properties
 NameDescription
AccessTimeoutDetermines how long to wait between file access errors before an exception is thrown.  
BinderBinder to use when serializing cache items.  
CacheDirectoryLocation in the file system to use for storing cache items.  
CacheVirtualDirectoryLocation in a web server to use for storing cache items.  
DataSerializationModeOverridden. Determines the type of serialization to use when the data is saved into the cache.  
DefaultCacheCapabilitiesOverridden. Capabilities of this cache.  
DefaultPolicyDefault policy when setting cache values using the properties and methods that do not use a region name.  
DefaultRegionName of the region to use when calling the properties and methods that do not use a region name.  
ItemOverridden. The cache item.  
NameOverridden. Unique name of this cache object  
PolicySerializationModeOverridden. Determines the type of serialization to use when the policy is saved into the cache.  
Top
Public Methods
 NameDescription
AddOverloaded. Adds a new item into the cache using the default region (Inherited from Leadtools.Caching.ObjectCache)
AddOrGetExistingOverloaded. Overridden. Adds an entry using key and value pair into the cache, and returns an existing cache entry with a matching key.  
BeginAddBegins adding a new cache item.  
CheckPoliciesChecks the policy of all items in the cache and purge any item that has been expired.  
CheckPolicyChecks the policy of an existing cache item or items in a region and purge it if it has expired.  
ContainsOverridden. Checks whether the specified cache entry exists in the cache.  
DateFromStringParses a date / time value stored in a string.  
DateToStringConverts a date / time value to a string using the current format.  
DeleteItemOverridden. Deletes the specified item from the cache.  
DeleteRegionOverridden. Deletes the specified region and all its data.  
EndAddEnds adding a new cache item and commit the changes.  
EnumerateKeysOverridden. Enumerates all the items in a region.  
EnumerateRegionsOverridden. Enumerates all the regions in this cache.  
GetOverloaded. Overridden. Value of the specified cache entry.  
GetCacheFilePathPath to the physical file holding the data for the specified item.  
GetCacheItemOverloaded. Overridden. Specified cache entry from the cache.  
GetCacheUrlURI to the physical file holding the data for the specified item.  
GetCountOverridden. Total number of cache entries in the cache.  
GetEnumeratorOverloaded. Creates an enumerator that can be used to iterate through a collection of cache entries.  
GetPolicyFilePathPath to the physical file holding the policy for the specified item.  
GetStatisticsOverloaded. Overridden. Returns a snapshot of the number of all items in the cache.  
GetStreamStream to the physical file holding the data for the specified item.  
GetValuesOverridden. Cache entries that corresponds the specified keys.  
RemoveOverloaded. Overridden. Removes an entry from the cache.  
SetOverloaded. Overridden. Adds a key/value pair item into the cache.  
UpdatePolicyUpdate the policy of an existing cache item.  
Top
Protected Methods
 NameDescription
GetRegionNameActual region name.  
OnCacheItemExpiredOverridden. Overrides ObjectCache.OnCacheItemExpired.  
OnCacheItemExpiringOverridden. Overrides ObjectCache.OnCacheItemExpiring.  
Top
Public Events
 NameDescription
CacheItemExpiredOccurs when an expited item has been removed from the cache. (Inherited from Leadtools.Caching.ObjectCache)
CacheItemExpiringOccurs when an item has expired and is about to be removed from the cache. (Inherited from Leadtools.Caching.ObjectCache)
Top
See Also

Reference

FileCache Class
Leadtools.Caching Namespace

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features