ClearCacheOptions Enum
Options for the Clear(ClearCacheOptions) method.
Namespace: Metalama.Patterns.Caching.Backends
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
[Flags]
public enum ClearCacheOptions
Fields
Name | Description |
---|---|
Compact | Uses the |
Default | Clears all cache layers. Does not guarantee to raise the ItemRemoved event. |
Local | Clears only the local cache, but does not attempt to clear the remote cache. (for use with WithL1(OutOfProcessCachingBackendBuilder, LayeredCachingBackendConfiguration?). |