Table of Contents

Interface ICacheHealthMonitor

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

Interface for monitoring cache health and performance.

public interface ICacheHealthMonitor
Extension Methods

Methods

GetHealthStatusAsync(CancellationToken)

Gets the current cache health status.

Task<CacheHealthStatus> GetHealthStatusAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CacheHealthStatus>

A task representing the asynchronous operation, containing the cache health status.

GetPerformanceSnapshot()

Gets basic cache performance metrics.

CachePerformanceSnapshot GetPerformanceSnapshot()

Returns

CachePerformanceSnapshot

A snapshot of cache performance metrics.