Skip to content

StreamCacheEvictionOptions

class

Namespace: Orleans.Configuration

Configuration options for stream cache eviction.
public class StreamCacheEvictionOptions

Constructors

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.

Fields