Class CacheResilienceOptions
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
LogMetricsOnDisposal
Gets or sets a value indicating whether to log performance metrics on disposal. Default is true.
public bool LogMetricsOnDisposal { get; set; }
Property Value
TypeNameCache
Gets or sets the type name cache configuration.
public CacheTypeNameOptions TypeNameCache { get; set; }
Property Value
- CacheTypeNameOptions
Type name cache configuration.