FaultyMemoryStorage Class
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.
A memory storage provider that supports injection of storage exceptions.
public class FaultyMemoryStorage : Orleans.TestingHost.FaultInjectionStorageProvider<Orleans.Storage.MemoryStorage>
type FaultyMemoryStorage = class
inherit FaultInjectionStorageProvider<MemoryStorage>
Public Class FaultyMemoryStorage
Inherits FaultInjectionStorageProvider(Of MemoryStorage)
- Inheritance
Constructors
FaultyMemoryStorage() |
Fields
DelayMillisecondsPropertyName |
Name of the property that controls the inserted delay. (Inherited from FaultInjectionStorageProvider<TStorage>) |
Properties
Log |
Logger used by this storage provider instance. (Inherited from FaultInjectionStorageProvider<TStorage>) |
Name |
The name of this provider instance, as given to it in the config. (Inherited from FaultInjectionStorageProvider<TStorage>) |
Methods
ClearStateAsync(String, GrainReference, IGrainState) |
Faults if exception is provided, otherwise calls through to decorated storage provider. (Inherited from FaultInjectionStorageProvider<TStorage>) |
Close() |
Close function for this provider instance. (Inherited from FaultInjectionStorageProvider<TStorage>) |
Init(String, IProviderRuntime, IProviderConfiguration) |
Initializes the decorated storage provider. (Inherited from FaultInjectionStorageProvider<TStorage>) |
ReadStateAsync(String, GrainReference, IGrainState) |
Faults if exception is provided, otherwise calls through to decorated storage provider. (Inherited from FaultInjectionStorageProvider<TStorage>) |
WriteStateAsync(String, GrainReference, IGrainState) |
Faults if exception is provided, otherwise calls through to decorated storage provider. (Inherited from FaultInjectionStorageProvider<TStorage>) |