Interface ICacheHealthMonitor
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
cancellationTokenCancellationTokenThe 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.