Edytuj

Udostępnij za pośrednictwem


FaultyMemoryStorage Class

Definition

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>)

Applies to