Edit

Share via


FaultInjectionStorageProviderConfigurationExtensions.AddFaultyMemoryStorageProvider Method

Definition

Adds a storage provider of type FaultyMemoryStorage

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

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.

delayMilliseconds
Int32

A delay to add to each access, in milliseconds

Applies to