Skip to content

GeneratorAdapterFactory Constructors

Adapter factory for stream generator stream provider. This factory acts as the adapter and the adapter factory. It creates receivers that use configurable generator to generate event streams, rather than reading them from storage.

GeneratorAdapterFactory(string, HashRingStreamQueueMapperOptions, StreamStatisticOptions, IServiceProvider, Serializer, ILoggerFactory)

View source
public GeneratorAdapterFactory(string providerName, HashRingStreamQueueMapperOptions queueMapperOptions, StreamStatisticOptions statisticOptions, IServiceProvider serviceProvider, Serializer serializer, ILoggerFactory loggerFactory)
Initializes a new instance of the GeneratorAdapterFactory class.

Parameters

providerNamestring
The stream provider name.
queueMapperOptionsHashRingStreamQueueMapperOptions
The queue mapper options.
statisticOptionsStreamStatisticOptions
The stream statistic options.
serviceProviderIServiceProvider
The service provider.
serializerSerializer
The Orleans serializer.
loggerFactoryILoggerFactory
The logger factory.