CacheMetricsListener Type
A listener that captures cache metrics, matching by cache name or exact cache tags.
Constructors
| Constructor |
Description
|
Full Usage:
CacheMetricsListener(cacheName)
Parameters:
string
Returns: CacheMetricsListener
|
Creates a listener that aggregates metrics across all cache instances with the given name.
|
Instance members
| Instance member |
Description
|
|
Gets the current totals for each metric type.
|
Full Usage:
this.Hits
Returns: int64
|
Gets the total number of cache hits.
|
Full Usage:
this.Misses
Returns: int64
|
Gets the total number of cache misses.
|
Full Usage:
this.Ratio
Returns: float
|
Gets the current hit ratio (hits / (hits + misses)).
|
F# Compiler Guide