namespace: Serenity assembly: Serenity.Net.Core
Contains helper functions to use local and distributed cache in sync with optional cache invalidation.
public class TwoLevelCache : ITwoLevelCache
name | description |
---|---|
TwoLevelCache(…) | Creates a new TwoLevelCache instance |
Distributed { get; } | Gets distributed cache |
Memory { get; } | Gets memory cache |
static readonly GenerationCacheExpiration | Expiration timeout for cache generation keys |
const GenerationSuffix | Suffix for cache generation keys |
- interface ITwoLevelCache
- Source: TwoLevelCache.cs