GrainDirectoryOptions.CachingStrategyType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration type that controls the type of the grain directory caching algorithm that silo use.
public enum GrainDirectoryOptions.CachingStrategyType
type GrainDirectoryOptions.CachingStrategyType =
Public Enum GrainDirectoryOptions.CachingStrategyType
- Inheritance
-
GrainDirectoryOptions.CachingStrategyType
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Don't cache. |
| LRU | 1 | Standard fixed-size LRU. |
| Adaptive | 2 | Adaptive caching with fixed maximum size and refresh. This option should be used in production. |
| Custom | 3 | Custom cache implementation, configured by registering an IGrainDirectoryCache implementation in the dependency injection container. |