StreamCacheEvictionOptions Class
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 options for stream cache eviction.
public class StreamCacheEvictionOptions
type StreamCacheEvictionOptions = class
Public Class StreamCacheEvictionOptions
- Inheritance
-
StreamCacheEvictionOptions
Constructors
| Name | Description |
|---|---|
| StreamCacheEvictionOptions() | |
Fields
| Name | Description |
|---|---|
| DefaultDataMaxAgeInCache |
Default DataMaxAgeInCache |
| DefaultDataMinTimeInCache |
Default DataMinTimeInCache |
| DefaultMetadataMinTimeInCache |
Default MetadataMinTimeInCache |
Properties
| Name | Description |
|---|---|
| DataMaxAgeInCache |
Difference in time between the newest and oldest messages in the cache. Any messages older than this will be purged from the cache. |
| DataMinTimeInCache |
Minimum time message will stay in cache before it is available for time based purge. |
| MetadataMinTimeInCache |
Minimum time message metadata (StreamSequenceToken) will stay in cache before it is available for time based purge. Used to avoid cache miss if the full message was purged. Set to null to disable this tracking. |