# ICacheMonitor.TrackCachePressureMonitorStatusChange(string, bool, double?, double?, double?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.icachemonitor/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.icachemonitor/methods/)

```csharp
public abstract void TrackCachePressureMonitorStatusChange(string pressureMonitorType, bool underPressure, double? cachePressureContributionCount, double? currentPressure, double? flowControlThreshold)
```

Called when the cache pressure monitor encounter a status change.

### Parameters

- `pressureMonitorType` (`string`): Type of the pressure monitor.
- `underPressure` (`bool`): if set to `true`, the cache is under pressure.
- `cachePressureContributionCount` (`double?`): The cache pressure contribution count.
- `currentPressure` (`double?`): The current pressure.
- `flowControlThreshold` (`double?`): The flow control threshold.
