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

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs#L82-L94)

```csharp
public 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.
