[This is preliminary documentation and is subject to change.]
The CacheParams type exposes the following members.Methods
| Name | Description | |
|---|---|---|
Indicates whether this instance and a specified object are equal. (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Returns the hash code for this instance. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| ReadFreshWriteSec |
Cache params with no read but write caching interval and priority
| |
| ReadWriteSec |
Cache params with the same read/write interval
| |
Returns the fully qualified type name of this instance. (Inherited from |
Extension Methods
Properties
| Name | Description | |
|---|---|---|
| CacheAbsentData |
When true would cache the instance of AbsentData to signify the absence of data in the backend for key
| |
| DefaultCache |
CacheParams that use cache's default
| |
| NoCache |
CacheParams that dont use cache
| |
| OneMinute |
CacheParams that uses one minute for sensitive data (i.e. user account-related data)
| |
| ReadCacheMaxAgeSec |
If greater than 0 then would allow reading a cached result for up-to the specified number of seconds.
If =0 uses cache's default span.
Less than 0 does not try to read from cache
| |
| WriteCacheMaxAgeSec |
If greater than 0 then writes to cache with the expiration.
If =0 uses cache's default life span.
Less than 0 does not write to cache
| |
| WriteCachePriority |
Relative cache priority which is used when WriteCacheMaxAgeSec>=0
|
See Also