Skip to content

MemoryAdapterFactory<TSerializer> Constructors

Adapter factory for in memory stream provider. This factory acts as the adapter and the adapter factory. The events are stored in an in-memory grain that behaves as an event queue, this provider adapter is primarily used for testing

MemoryAdapterFactory<TSerializer>(string, StreamCacheEvictionOptions, StreamStatisticOptions, HashRingStreamQueueMapperOptions, IServiceProvider, IGrainFactory, ILoggerFactory)

View source
public MemoryAdapterFactory(string providerName, StreamCacheEvictionOptions cacheOptions, StreamStatisticOptions statisticOptions, HashRingStreamQueueMapperOptions queueMapperOptions, IServiceProvider serviceProvider, IGrainFactory grainFactory, ILoggerFactory loggerFactory)

Parameters

providerNamestring
cacheOptionsStreamCacheEvictionOptions
statisticOptionsStreamStatisticOptions
queueMapperOptionsHashRingStreamQueueMapperOptions
serviceProviderIServiceProvider
grainFactoryIGrainFactory
loggerFactoryILoggerFactory