# IEventHubQueueCacheFactory Methods

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

## CreateCache(string, IStreamQueueCheckpointer&lt;string&gt;, ILoggerFactory) {#createcache-string-orleans-streams-istreamqueuecheckpointer-string-microsoft-ext-bb01b8ee}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.ieventhubqueuecachefactory/methods/createcache-string-orleans-streams-istreamqueuecheckpointer-string-microsoft-ext-bb01b8ee/)

```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`)
