Table of Contents

Class CacheTypeNameOptions

Namespace
Excalibur.Dispatch.Caching
Assembly
Excalibur.Dispatch.Caching.dll

Type name cache configuration for cache resilience.

public sealed class CacheTypeNameOptions
Inheritance
CacheTypeNameOptions
Inherited Members
Extension Methods

Properties

CacheTtl

Gets or sets the TTL for cached type names. Default is 1 hour.

public TimeSpan CacheTtl { get; set; }

Property Value

TimeSpan

The TTL for cached type names.

MaxCacheSize

Gets or sets the maximum number of type names to cache. Prevents unbounded memory growth. Default is 10,000.

[Range(100, 1000000)]
public int MaxCacheSize { get; set; }

Property Value

int

The maximum number of type names to cache.