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

适用于