IMemoryStorageGrain Interface
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.
Grain interface for internal memory storage grain used by Orleans in-memory storage provider.
public interface IMemoryStorageGrain : Orleans.IGrainWithIntegerKey
type IMemoryStorageGrain = interface
interface IGrainWithIntegerKey
interface IGrain
interface IAddressable
Public Interface IMemoryStorageGrain
Implements IGrainWithIntegerKey
- Implements
Methods
DeleteStateAsync(String, String, String) | |
DeleteStateAsync<T>(String, String) | |
ReadStateAsync(String, String) |
Async method to cause retrieval of the specified grain state data from memory store. |
ReadStateAsync<T>(String) |
Async method to cause retrieval of the specified grain state data from memory store. |
WriteStateAsync(String, String, IGrainState) |
Async method to cause update of the specified grain state data into memory store. |
WriteStateAsync<T>(String, IGrainState<T>) |
Async method to cause update of the specified grain state data into memory store. |
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 |
GetPrimaryKeyLong(IAddressable) |
Returns the |
GetPrimaryKeyString(IAddressable) |
Returns the |
IsPrimaryKeyBasedOnLong(IAddressable) |
Returns whether part of the primary key is of type |