stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -94,44 +94,3 @@ public interface IProvcacheRepository
|
||||
/// <returns>Cache statistics.</returns>
|
||||
Task<ProvcacheStatistics> GetStatisticsAsync(CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cache statistics for monitoring and diagnostics.
|
||||
/// </summary>
|
||||
public sealed record ProvcacheStatistics
|
||||
{
|
||||
/// <summary>
|
||||
/// Total number of entries in the cache.
|
||||
/// </summary>
|
||||
public long TotalEntries { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Total number of cache hits.
|
||||
/// </summary>
|
||||
public long TotalHits { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of entries expiring within the next hour.
|
||||
/// </summary>
|
||||
public long ExpiringWithinHour { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of unique policy hashes.
|
||||
/// </summary>
|
||||
public int UniquePolicies { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of unique signer set hashes.
|
||||
/// </summary>
|
||||
public int UniqueSignerSets { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Oldest entry timestamp.
|
||||
/// </summary>
|
||||
public DateTimeOffset? OldestEntry { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Newest entry timestamp.
|
||||
/// </summary>
|
||||
public DateTimeOffset? NewestEntry { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user