|
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
| Leadtools.Caching Assembly > Leadtools.Caching Namespace : FileCache Class |
The following tables list the members exposed by FileCache.
| Name | Description | |
|---|---|---|
![]() | FileCache Constructor | Initializes a new instance of FileCache. ![]() |
| Name | Description | |
|---|---|---|
![]() | DateFormat | Format to use when storing dates in the XML and JSON formats. ![]() |
| Name | Description | |
|---|---|---|
![]() | AccessTimeout | Determines how long to wait between file access errors before an exception is thrown. ![]() |
![]() | Binder | Binder to use when serializing cache items. |
![]() | CacheDirectory | Location in the file system to use for storing cache items. ![]() |
![]() | CacheVirtualDirectory | Location in a web server to use for storing cache items. ![]() |
![]() | DataSerializationMode | Overridden. Determines the type of serialization to use when the data is saved into the cache. ![]() |
![]() | DefaultCacheCapabilities | Overridden. Capabilities of this cache. ![]() |
![]() | DefaultPolicy | Default policy when setting cache values using the properties and methods that do not use a region name. ![]() |
![]() | DefaultRegion | Name of the region to use when calling the properties and methods that do not use a region name. ![]() |
![]() | Item | Overridden. The cache item. ![]() |
![]() | Name | Overridden. Unique name of this cache object ![]() |
![]() | PolicySerializationMode | Overridden. Determines the type of serialization to use when the policy is saved into the cache. ![]() |
| Name | Description | |
|---|---|---|
![]() | Add | Overloaded. Adds a new item into the cache using the default region (Inherited from Leadtools.Caching.ObjectCache) |
![]() | AddOrGetExisting | Overloaded. Overridden. Adds an entry using key and value pair into the cache, and returns an existing cache entry with a matching key. |
![]() | BeginAdd | Begins adding a new cache item. ![]() |
![]() | CheckPolicies | Checks the policy of all items in the cache and purge any item that has been expired. ![]() |
![]() | CheckPolicy | Checks the policy of an existing cache item or items in a region and purge it if it has expired. ![]() |
![]() | Contains | Overridden. Checks whether the specified cache entry exists in the cache. ![]() |
![]() ![]() | DateFromString | Parses a date / time value stored in a string. ![]() |
![]() ![]() | DateToString | Converts a date / time value to a string using the current format. ![]() |
![]() | DeleteItem | Overridden. Deletes the specified item from the cache. ![]() |
![]() | DeleteRegion | Overridden. Deletes the specified region and all its data. ![]() |
![]() | EndAdd | Ends adding a new cache item and commit the changes. ![]() |
![]() | EnumerateKeys | Overridden. Enumerates all the items in a region. ![]() |
![]() | EnumerateRegions | Overridden. Enumerates all the regions in this cache. ![]() |
![]() | Get | Overloaded. Overridden. Value of the specified cache entry. |
![]() | GetCacheFilePath | Path to the physical file holding the data for the specified item. ![]() |
![]() | GetCacheItem | Overloaded. Overridden. Specified cache entry from the cache. |
![]() | GetCacheUrl | URI to the physical file holding the data for the specified item. ![]() |
![]() | GetCount | Overridden. Total number of cache entries in the cache. ![]() |
![]() | GetEnumerator | Overloaded. Creates an enumerator that can be used to iterate through a collection of cache entries. |
![]() | GetPolicyFilePath | Path to the physical file holding the policy for the specified item. ![]() |
![]() | GetStatistics | Overloaded. Overridden. Returns a snapshot of the number of all items in the cache. ![]() |
![]() | GetStream | Stream to the physical file holding the data for the specified item. ![]() |
![]() | GetValues | Overridden. Cache entries that corresponds the specified keys. ![]() |
![]() | Remove | Overloaded. Overridden. Removes an entry from the cache. |
![]() | Set | Overloaded. Overridden. Adds a key/value pair item into the cache. |
![]() | UpdatePolicy | Update the policy of an existing cache item. ![]() |
| Name | Description | |
|---|---|---|
![]() | GetRegionName | Actual region name. ![]() |
![]() | OnCacheItemExpired | Overridden. Overrides ObjectCache.OnCacheItemExpired. ![]() |
![]() | OnCacheItemExpiring | Overridden. Overrides ObjectCache.OnCacheItemExpiring. ![]() |
| Name | Description | |
|---|---|---|
![]() | CacheItemExpired | Occurs when an expited item has been removed from the cache. ![]() (Inherited from Leadtools.Caching.ObjectCache) |
![]() | CacheItemExpiring | Occurs when an item has expired and is about to be removed from the cache. ![]() (Inherited from Leadtools.Caching.ObjectCache) |