Compartilhar via


EventHubQueueCacheFactory.CreateCache Método

Definição

Sobrecargas

CreateCache(String, IStreamQueueCheckpointer<String>, ILoggerFactory)

Função que cria um EventHubQueueCache, que por padrão configurará o EventHubQueueCache usando a configuração na função CreateBufferPool e na função AddCachePressureMonitors.

CreateCache(String, IEventHubDataAdapter, StreamStatisticOptions, StreamCacheEvictionOptions, IStreamQueueCheckpointer<String>, ILoggerFactory, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, EventHubMonitorAggregationDimensions)

Função padrão a ser chamada para criar um método EventhubQueueCache no método IEventHubQueueCacheFactory.CreateCache. O usuário pode substituir esse método para adicionar mais personalização.

CreateCache(String, IStreamQueueCheckpointer<String>, ILoggerFactory)

Função que cria um EventHubQueueCache, que por padrão configurará o EventHubQueueCache usando a configuração na função CreateBufferPool e na função AddCachePressureMonitors.

public Orleans.Streaming.EventHubs.IEventHubQueueCache CreateCache (string partition, Orleans.Streams.IStreamQueueCheckpointer<string> checkpointer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
abstract member CreateCache : string * Orleans.Streams.IStreamQueueCheckpointer<string> * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Streaming.EventHubs.IEventHubQueueCache
override this.CreateCache : string * Orleans.Streams.IStreamQueueCheckpointer<string> * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Streaming.EventHubs.IEventHubQueueCache
Public Function CreateCache (partition As String, checkpointer As IStreamQueueCheckpointer(Of String), loggerFactory As ILoggerFactory) As IEventHubQueueCache

Parâmetros

partition
String
loggerFactory
ILoggerFactory

Retornos

Implementações

Aplica-se a

CreateCache(String, IEventHubDataAdapter, StreamStatisticOptions, StreamCacheEvictionOptions, IStreamQueueCheckpointer<String>, ILoggerFactory, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, EventHubMonitorAggregationDimensions)

Função padrão a ser chamada para criar um método EventhubQueueCache no método IEventHubQueueCacheFactory.CreateCache. O usuário pode substituir esse método para adicionar mais personalização.

protected virtual Orleans.Streaming.EventHubs.IEventHubQueueCache CreateCache (string partition, Orleans.Streaming.EventHubs.IEventHubDataAdapter dataAdatper, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Configuration.StreamCacheEvictionOptions streamCacheEvictionOptions, Orleans.Streams.IStreamQueueCheckpointer<string> checkpointer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, string blockPoolId, Orleans.Providers.Streams.Common.TimePurgePredicate timePurge, Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions sharedDimensions);
abstract member CreateCache : string * Orleans.Streaming.EventHubs.IEventHubDataAdapter * Orleans.Configuration.StreamStatisticOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Streams.IStreamQueueCheckpointer<string> * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * string * Orleans.Providers.Streams.Common.TimePurgePredicate * Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions -> Orleans.Streaming.EventHubs.IEventHubQueueCache
override this.CreateCache : string * Orleans.Streaming.EventHubs.IEventHubDataAdapter * Orleans.Configuration.StreamStatisticOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Streams.IStreamQueueCheckpointer<string> * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * string * Orleans.Providers.Streams.Common.TimePurgePredicate * Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions -> Orleans.Streaming.EventHubs.IEventHubQueueCache
Protected Overridable Function CreateCache (partition As String, dataAdatper As IEventHubDataAdapter, statisticOptions As StreamStatisticOptions, streamCacheEvictionOptions As StreamCacheEvictionOptions, checkpointer As IStreamQueueCheckpointer(Of String), loggerFactory As ILoggerFactory, bufferPool As IObjectPool(Of FixedSizeBuffer), blockPoolId As String, timePurge As TimePurgePredicate, sharedDimensions As EventHubMonitorAggregationDimensions) As IEventHubQueueCache

Parâmetros

partition
String
dataAdatper
IEventHubDataAdapter
statisticOptions
StreamStatisticOptions
streamCacheEvictionOptions
StreamCacheEvictionOptions
loggerFactory
ILoggerFactory
blockPoolId
String
timePurge
TimePurgePredicate

Retornos

Aplica-se a