Struct TileCacheStats
Snapshot of disk-cache occupancy and hit counters for inspectors and telemetry.
public readonly struct TileCacheStats
- Inherited Members
Constructors
TileCacheStats(long, long, int, long, long, long)
Builds a snapshot from the store's live counters.
public TileCacheStats(long liveBytes, long maxDataBytes, int entryCount, long hitCount, long missCount, long evictionCount)
Parameters
liveByteslongBytes reachable through the index, excluding orphans.
maxDataByteslongLive-data cap in bytes.
entryCountintNumber of live index entries.
hitCountlongSuccessful reads since the store opened.
missCountlongFailed reads since the store opened.
evictionCountlongRuntime evictions since the store opened.
Properties
EntryCount
Number of live index entries.
public int EntryCount { get; }
Property Value
EvictionCount
Runtime evictions since the store opened, including later cap shrinks; the open-time cap replay is omitted.
public long EvictionCount { get; }
Property Value
HitCount
Successful TryRead(ulong, out byte[], out int) calls since the store opened.
public long HitCount { get; }
Property Value
HitRate
Hits divided by hits plus misses; 0 when no lookups have run.
public double HitRate { get; }
Property Value
LiveBytes
Bytes reachable through the index, excluding orphans.
public long LiveBytes { get; }
Property Value
MaxDataBytes
Live-data cap in bytes at the time of the snapshot.
public long MaxDataBytes { get; }
Property Value
MissCount
Failed TryRead(ulong, out byte[], out int) calls since the store opened.
public long MissCount { get; }