FaultInjectionStorageProviderConfigurationExtensions.AddFaultyMemoryStorageProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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