DefaultCacheMonitor.TrackCachePressureMonitorStatusChange 方法

定义

当缓存压力监视器遇到状态更改时调用。

public void TrackCachePressureMonitorStatusChange (string pressureMonitorType, bool underPressure, double? cachePressureContributionCount, double? currentPressure, double? flowControlThreshold);
abstract member TrackCachePressureMonitorStatusChange : string * bool * Nullable<double> * Nullable<double> * Nullable<double> -> unit
override this.TrackCachePressureMonitorStatusChange : string * bool * Nullable<double> * Nullable<double> * Nullable<double> -> unit
Public Sub TrackCachePressureMonitorStatusChange (pressureMonitorType As String, underPressure As Boolean, cachePressureContributionCount As Nullable(Of Double), currentPressure As Nullable(Of Double), flowControlThreshold As Nullable(Of Double))

参数

pressureMonitorType
String

压力监视器的类型。

underPressure
Boolean

如果设置为 true,则缓存将承受压力。

cachePressureContributionCount
Nullable<Double>

缓存压力贡献计数。

currentPressure
Nullable<Double>

当前压力。

flowControlThreshold
Nullable<Double>

流控制阈值。

实现

适用于