Düzenle

Aracılığıyla paylaş


IMemoryStorageGrain Interface

Definition

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 long representation of a grain primary key.

GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

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