ISystemTarget 接口

定义

这是系统目标的标记接口。 系统目标是内部运行时对象,它们与 grain 共享某些行为,但也施加某些限制。 特别是:系统目标是可异步寻址的参与者。 正在为 ISystemTarget 生成代理类,就像 IGrain 系统目标由运行时计划程序计划并遵循基于轮次的并发一样。

public interface ISystemTarget : Orleans.Runtime.IAddressable
type ISystemTarget = interface
    interface IAddressable
Public Interface ISystemTarget
Implements IAddressable
派生
实现

扩展方法

AsReference(IAddressable, Type)

返回对所提供的粒度的类型化引用。

AsReference<TGrainInterface>(IAddressable)

返回对所提供的粒度的类型化引用。

BindGrainReference(IAddressable, IGrainFactory)

将 grain 引用绑定到提供的 IGrainFactory

Cast(IAddressable, Type)

返回对所提供的粒度的类型化引用。

Cast<TGrainInterface>(IAddressable)

返回对所提供的粒度的类型化引用。

GetGrainId(IAddressable)

返回与提供的 grain 对应的粒度 ID。

GetPrimaryKey(IAddressable)

返回 Guid grain 主键的表示形式。

GetPrimaryKey(IAddressable, String)

返回 Guid grain 主键的表示形式。

GetPrimaryKeyLong(IAddressable)

返回 long grain 主键的表示形式。

GetPrimaryKeyLong(IAddressable, String)

返回 long grain 主键的表示形式。

GetPrimaryKeyString(IAddressable)

返回 string grain 的主键。

IsPrimaryKeyBasedOnLong(IAddressable)

返回主键的一部分是否为 类型 long

适用于