Düzenle

Aracılığıyla paylaş


DefaultCacheMonitor Class

Definition

cache monitor used as a default option in GeneratorStreamprovider and MemoryStreamProvider

public class DefaultCacheMonitor : Orleans.Providers.Streams.Common.ICacheMonitor
type DefaultCacheMonitor = class
    interface ICacheMonitor
Public Class DefaultCacheMonitor
Implements ICacheMonitor
Inheritance
DefaultCacheMonitor
Derived
Implements

Constructors

DefaultCacheMonitor(CacheMonitorDimensions)

Initializes a new instance of the DefaultCacheMonitor class.

DefaultCacheMonitor(CacheMonitorDimensions, ITelemetryProducer)
DefaultCacheMonitor(CacheMonitorDimensions, Logger)
DefaultCacheMonitor(ITelemetryProducer)
DefaultCacheMonitor(KeyValuePair<String,Object>[])

Initializes a new instance of the DefaultCacheMonitor class.

DefaultCacheMonitor(Logger)

Fields

Logger
LogProperties
TelemetryProducer

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