Edit

Share via


ICacheMonitor Interface

Definition

Responsible for monitoring cache related metrics.

public interface ICacheMonitor
type ICacheMonitor = interface
Public Interface ICacheMonitor
Derived

Methods

ReportCacheSize(Int64)

Called to report the total cache size.

ReportMessageStatistics(Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Int64)

Called to report cache status metrics.

TrackCachePressureMonitorStatusChange(String, Boolean, Nullable<Double>, Nullable<Double>, Nullable<Double>)

Called when the cache pressure monitor encounter a status change.

TrackMemoryAllocated(Int32)

Called when new memory is allocated by the cache.

TrackMemoryReleased(Int32)

Called when memory returned to block pool.

TrackMessagesAdded(Int64)

Called when messages are added to the cache.

TrackMessagesPurged(Int64)

Called when messages are purged from the cache.

Applies to