Table of Contents

Class CacheResilienceOptions

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

Configuration options for cache resilience features including circuit breaker and memory limits.

public sealed class CacheResilienceOptions
Inheritance
CacheResilienceOptions
Inherited Members
Extension Methods

Properties

CircuitBreaker

Gets or sets the circuit breaker configuration for cache operations.

public CacheCircuitBreakerOptions CircuitBreaker { get; set; }

Property Value

CacheCircuitBreakerOptions

Circuit breaker configuration for cache operations.

EnableFallback

Gets or sets a value indicating whether to enable fallback to direct routing when cache fails. Default is true.

public bool EnableFallback { get; set; }

Property Value

bool

true if fallback to direct routing should be enabled when cache fails; otherwise, false.

LogMetricsOnDisposal

Gets or sets a value indicating whether to log performance metrics on disposal. Default is true.

public bool LogMetricsOnDisposal { get; set; }

Property Value

bool

true if performance metrics should be logged on disposal; otherwise, false.

TypeNameCache

Gets or sets the type name cache configuration.

public CacheTypeNameOptions TypeNameCache { get; set; }

Property Value

CacheTypeNameOptions

Type name cache configuration.