Edytuj

Udostępnij za pośrednictwem


StreamCacheEvictionOptions Class

Definition

Configuration options for stream cache eviction.

public class StreamCacheEvictionOptions
type StreamCacheEvictionOptions = class
Public Class StreamCacheEvictionOptions
Inheritance
StreamCacheEvictionOptions

Constructors

StreamCacheEvictionOptions()

Fields

DefaultDataMaxAgeInCache

The default value for DataMaxAgeInCache

DefaultDataMinTimeInCache

The default value for DataMinTimeInCache.

DefaultMetadataMinTimeInCache

The default value for MetadataMinTimeInCache.

Properties

DataMaxAgeInCache

Gets or sets the difference in time between the newest and oldest messages in the cache. Any messages older than this will be purged from the cache.

DataMinTimeInCache

Gets or sets the minimum time a message will stay in cache before it is available for time based purge.

MetadataMinTimeInCache

Gets or sets the minimum time that 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.

Applies to