Class FBCachingProvider
Inherited Members
Namespace: DotNetNuke.Services.Cache
Assembly: DotNetNuke.dll
Syntax
public class FBCachingProvider : CachingProvider
Methods
| Improve this Doc View SourceInsert(String, Object, DNNCacheDependency, DateTime, TimeSpan, CacheItemPriority, CacheItemRemovedCallback)
Inserts the specified cache key.
Declaration
public override void Insert(string cacheKey, object itemToCache, DNNCacheDependency dependency, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheKey | The cache key. |
System.Object | itemToCache | The value. |
DNNCacheDependency | dependency | The dependency. |
DateTime | absoluteExpiration | The absolute expiration. |
TimeSpan | slidingExpiration | The sliding expiration. |
CacheItemPriority | priority | The priority. |
CacheItemRemovedCallback | onRemoveCallback | The on remove callback. |
Overrides
| Improve this Doc View SourceIsWebFarm()
Determines whether is web farm.
Declaration
public override bool IsWebFarm()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
| Improve this Doc View SourcePurgeCache()
Purges the cache.
Declaration
public override string PurgeCache()
Returns
Type | Description |
---|---|
System.String | A message indicating the results of the cache purge. |
Overrides
| Improve this Doc View SourceRemove(String)
Removes the specified cache key.
Declaration
public override void Remove(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |