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
,則快取會處於壓力。