共用方式為


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

適用於