IStorageFaultGrain Interface

Definition

Grain that tracks storage exceptions to be injected.

public interface IStorageFaultGrain : Orleans.IGrainWithStringKey
type IStorageFaultGrain = interface
    interface IGrainWithStringKey
    interface IGrain
    interface IAddressable
Public Interface IStorageFaultGrain
Implements IGrainWithStringKey
Derived
Implements

Methods

AddFaultOnClear(GrainId, Exception)

Adds a storage exception to be thrown when the referenced grain clears state in a storage provider

AddFaultOnClear(GrainReference, Exception)

Adds a storage exception to be thrown when the referenced grain clears state in a storage provider

AddFaultOnRead(GrainId, Exception)

Adds a storage exception to be thrown when the referenced grain reads state from a storage provider

AddFaultOnRead(GrainReference, Exception)

Adds a storage exception to be thrown when the referenced grain reads state from a storage provider

AddFaultOnWrite(GrainId, Exception)

Adds a storage exception to be thrown when the referenced grain writes state to a storage provider

AddFaultOnWrite(GrainReference, Exception)

Adds a storage exception to be thrown when the referenced grain writes state to a storage provider

OnClear(GrainId)

Throws a storage exception if one has been added for the grain reference for clearing state.

OnClear(GrainReference)

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.

OnRead(GrainReference)

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.

OnWrite(GrainReference)

Throws a storage exception if one has been added for the grain reference for writing.

Extension Methods

AsReference(IAddressable, Type)

Returns a typed reference to the provided grain.

AsReference<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

BindGrainReference(IAddressable, IGrainFactory)

Binds the grain reference to the provided IGrainFactory.

Cast(IAddressable, Type)

Returns a typed reference to the provided grain.

Cast<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

GetGrainId(IAddressable)

Returns the grain id corresponding to the provided grain.

GetGrainIdentity(IGrain)
GetPrimaryKey(IGrain, String)
GetPrimaryKey(IGrain)
GetPrimaryKey(IAddressable, String)

Returns the Guid representation of a grain primary key.

GetPrimaryKey(IAddressable)

Returns the Guid representation of a grain primary key.

GetPrimaryKeyLong(IGrain, String)
GetPrimaryKeyLong(IGrain)
GetPrimaryKeyLong(IAddressable, String)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

GetPrimaryKeyString(IGrainWithStringKey)
GetPrimaryKeyString(IAddressable)

Returns the string primary key of the grain.

IsPrimaryKeyBasedOnLong(IAddressable)

Returns whether part of the primary key is of type long.

Applies to