Share via


IMemoryStorageGrain 介面

定義

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

public interface IMemoryStorageGrain : Orleans.IGrainWithIntegerKey
type IMemoryStorageGrain = interface
    interface IGrainWithIntegerKey
    interface IGrain
    interface IAddressable
Public Interface IMemoryStorageGrain
Implements IGrainWithIntegerKey
實作

方法

DeleteStateAsync(String, String, String)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

DeleteStateAsync<T>(String, String)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

ReadStateAsync(String, String)

非同步方法,導致從記憶體存放區擷取指定的細微性狀態資料。

ReadStateAsync<T>(String)

非同步方法,導致從記憶體存放區擷取指定的細微性狀態資料。

WriteStateAsync(String, String, IGrainState)

非同步方法會導致將指定的細微性狀態資料更新至記憶體存放區。

WriteStateAsync<T>(String, IGrainState<T>)

非同步方法會導致將指定的細微性狀態資料更新至記憶體存放區。

擴充方法

AsReference(IAddressable, Type)

傳回所提供細微性的具型別參考。

AsReference<TGrainInterface>(IAddressable)

傳回所提供細微性的具型別參考。

BindGrainReference(IAddressable, IGrainFactory)

將細微性參考系結至提供的 IGrainFactory

Cast(IAddressable, Type)

傳回所提供細微性的具型別參考。

Cast<TGrainInterface>(IAddressable)

傳回所提供細微性的具型別參考。

GetGrainId(IAddressable)

傳回對應至所提供粒紋的細微性識別碼。

GetGrainIdentity(IGrain)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

GetPrimaryKey(IGrain)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

GetPrimaryKey(IGrain, String)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

GetPrimaryKey(IAddressable)

Guid 回細微性主鍵的標記法。

GetPrimaryKey(IAddressable, String)

Guid 回細微性主鍵的標記法。

GetPrimaryKeyLong(IGrain)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

GetPrimaryKeyLong(IGrain, String)

在記憶體內部儲存體提供者所使用的內部記憶體儲存體細微性的細微性介面。

GetPrimaryKeyLong(IAddressable)

long 回細微性主鍵的標記法。

GetPrimaryKeyLong(IAddressable, String)

long 回細微性主鍵的標記法。

GetPrimaryKeyString(IAddressable)

string 回細微性的主鍵。

IsPrimaryKeyBasedOnLong(IAddressable)

傳回主鍵的一部分是否為 類型 long

適用於