Edit

Share via


BuiltInProvidersConfigurationExtensions.AddMemoryStorageProvider Method

Definition

Adds a storage provider of type MemoryStorage

public static void AddMemoryStorageProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName = "MemoryStore", int numStorageGrains = 10);
static member AddMemoryStorageProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * int -> unit
<Extension()>
Public Sub AddMemoryStorageProvider (config As ClusterConfiguration, Optional providerName As String = "MemoryStore", Optional numStorageGrains As Integer = 10)

Parameters

config
ClusterConfiguration

The cluster configuration object to add provider to.

providerName
String

The provider name.

numStorageGrains
Int32

The number of storage grains to use.

Applies to