# IEventHubQueueCache.AddCachePressureMonitor(ICachePressureMonitor)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.ieventhubqueuecache/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.ieventhubqueuecache/methods/)

```csharp
public abstract void AddCachePressureMonitor(ICachePressureMonitor monitor)
```

Add cache pressure monitor to the cache's back pressure algorithm

### Parameters

- `monitor` (`ICachePressureMonitor`)
