# EventHubQueueCacheFactory Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubqueuecachefactory/)

## BlockPoolMonitorFactory {#blockpoolmonitorfactory-7d9728c9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubqueuecachefactory/properties/blockpoolmonitorfactory-7d9728c9/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubQueueCacheFactory.cs)

```csharp
public Func<EventHubBlockPoolMonitorDimensions, ILoggerFactory, IBlockPoolMonitor> BlockPoolMonitorFactory
```

Create a block pool monitor to report performance metrics. Factory function should return an IObjectPoolMonitor.

## CacheMonitorFactory {#cachemonitorfactory-5f71054e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubqueuecachefactory/properties/cachemonitorfactory-5f71054e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubQueueCacheFactory.cs)

```csharp
public Func<EventHubCacheMonitorDimensions, ILoggerFactory, ICacheMonitor> CacheMonitorFactory
```

Create a cache monitor to report performance metrics. Factory function should return an ICacheMonitor.
