Edit

Share via


GeneratorAdapterConfig Class

Definition

This configuration class is used to configure the GeneratorStreamProvider. It tells the stream provider how many queues to create, and which generator to use to generate event streams.

public class GeneratorAdapterConfig : Orleans.Providers.Streams.Common.RecoverableStreamProviderSettings
type GeneratorAdapterConfig = class
    inherit RecoverableStreamProviderSettings
Public Class GeneratorAdapterConfig
Inherits RecoverableStreamProviderSettings
Inheritance
GeneratorAdapterConfig

Constructors

GeneratorAdapterConfig(String)

Constructor

Fields

DataMaxAgeInCacheName

DataMaxAgeInCache setting name.

(Inherited from RecoverableStreamProviderSettings)
DataMinTimeInCacheName

DataMinTimeInCache setting name.

(Inherited from RecoverableStreamProviderSettings)
GeneratorConfigTypeName

Configuration property name for generator configuration type

StatisticMonitorWriteIntervalName

Name of StatisticMonitorWriteInterval

(Inherited from RecoverableStreamProviderSettings)

Properties

DataMaxAgeInCache

Difference in time between the newest and oldest messages in the cache. Any messages older than this will be purged from the cache.

(Inherited from RecoverableStreamProviderSettings)
DataMinTimeInCache

Minimum time message will stay in cache before it is available for time based purge.

(Inherited from RecoverableStreamProviderSettings)
GeneratorConfigType

Generator configuration type

StatisticMonitorWriteInterval

Statistic monitor write interval Statistics generation is triggered by activity. Interval will be ignored when streams are inactive.

(Inherited from RecoverableStreamProviderSettings)
StreamProviderName

Stream provider name

TotalQueueCount

Total number of queues

Methods

PopulateFromProviderConfig(IProviderConfiguration)

Utility function to populate config from provider config

WriteProperties(Dictionary<String,String>)

Utility function to convert config to property bag for use in stream provider configuration

Applies to