ICacheMonitor
interface
Namespace: Orleans.Providers.Streams.Common
Responsible for monitoring cache related metrics.
public interface ICacheMonitorMethods
ReportCacheSize(long)Called to report the total cache size.ReportMessageStatistics(DateTime?, DateTime?, DateTime?, long)Called to report cache status metrics.TrackCachePressureMonitorStatusChange(string, bool, double?, double?, double?)Called when the cache pressure monitor encounter a status change.TrackMemoryAllocated(int)Called when new memory is allocated by the cache.TrackMemoryReleased(int)Called when memory returned to block pool.TrackMessagesAdded(long)Called when messages are added to the cache.TrackMessagesPurged(long)Called when messages are purged from the cache.
