DefaultCacheMonitor.TrackCachePressureMonitorStatusChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当缓存压力监视器遇到状态更改时调用。
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
,则缓存将承受压力。