CacheStats overview
Added in v1.0.0
Table of contents
constructors
make
Constructs a new CacheStats
from the specified values.
Signature
export declare const make: (hits: number, misses: number, size: number) => CacheStats
Added in v1.0.0
models
CacheStats (interface)
CacheStats
represents a snapshot of statistics for the cache as of a point in time.
Signature
export interface CacheStats {
readonly hits: number
readonly misses: number
readonly size: number
}
Added in v1.0.0