Edit

Share via


MemoryAdapterConfig Class

Definition

This configuration class is used to configure the MemoryStreamProvider. It tells the stream provider how many queues to create.

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

Constructors

MemoryAdapterConfig(String, Int32)

Constructor

Fields

DataMaxAgeInCacheName

DataMaxAgeInCache setting name.

(Inherited from RecoverableStreamProviderSettings)
DataMinTimeInCacheName

DataMinTimeInCache setting name.

(Inherited from RecoverableStreamProviderSettings)
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)
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

Actual total queue count.

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