IStorageFaultGrain
interface
Namespace: Orleans.TestingHost
Grain that tracks storage exceptions to be injected.
public interface IStorageFaultGrain : IGrain, IGrainWithStringKey, IAddressableMethods
AddFaultOnClear(GrainId, Exception)Adds a storage exception to be thrown when the referenced grain clears state in a storage providerAddFaultOnRead(GrainId, Exception)Adds a storage exception to be thrown when the referenced grain reads state from a storage providerAddFaultOnWrite(GrainId, Exception)Adds a storage exception to be thrown when the referenced grain writes state to a storage providerOnClear(GrainId)Throws a storage exception if one has been added for the grain reference for clearing state.OnRead(GrainId)Throws a storage exception if one has been added for the grain reference for reading.OnWrite(GrainId)Throws a storage exception if one has been added for the grain reference for writing.
