TwoLevelCache class
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
Public Members
| 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 |
See Also
- interface ITwoLevelCache
- Source: TwoLevelCache.cs