# IEventHubQueueCacheFactory.CreateCache(string, IStreamQueueCheckpointer&lt;string&gt;, ILoggerFactory)

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

```csharp
public abstract IEventHubQueueCache CreateCache(string partition, IStreamQueueCheckpointer<string> checkpointer, ILoggerFactory loggerFactory)
```

Function used to create a IEventHubQueueCache

### Parameters

- `partition` (`string`)
- `checkpointer` (`IStreamQueueCheckpointer<string>`)
- `loggerFactory` (`ILoggerFactory`)
