共用方式為


ILogConsistencyProtocolParticipant 介面

定義

參與多重叢集記錄一致性通訊協定之粒紋介面。

public interface ILogConsistencyProtocolParticipant : Orleans.IGrain
type ILogConsistencyProtocolParticipant = interface
    interface IGrain
    interface IAddressable
Public Interface ILogConsistencyProtocolParticipant
Implements IGrain
衍生
實作

方法

DeactivateProtocolParticipant()

在用戶層級 OnDeactivateAsync 之後,於相同的排程器上立即呼叫。

OnMultiClusterConfigurationChange(MultiClusterConfiguration)

收到組態變更通知時呼叫。

OnProtocolMessageReceived(ILogConsistencyProtocolMessage)

從另一個叢集接收訊息時呼叫。 這必須與其他呼叫交錯,以避免死結。

PostActivateProtocolParticipant()

在用戶層級 OnActivateAsync 之後,在同一個排程器上立即呼叫。

PreActivateProtocolParticipant()

在用戶層級 OnActivateAsync 之前,在同一排程器上立即呼叫。

擴充方法

AsReference<TGrainInterface>(IAddressable)

傳回所提供粒紋的具型別參考。

BindGrainReference(IAddressable, IGrainFactory)

將粒紋參考系結至提供的 IGrainFactory

Cast(IAddressable, Type)

傳回所提供粒紋的具型別參考。

Cast<TGrainInterface>(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

適用於