Edytuj

Udostępnij za pośrednictwem


ISystemTarget Interface

Definition

This is a markup interface for system targets. System target are internal runtime objects that share some behavior with grains, but also impose certain restrictions. In particular: System target are asynchronously addressable actors. Proxy class is being generated for ISystemTarget, just like for IGrain System target are scheduled by the runtime scheduler and follow turn based concurrency.

public interface ISystemTarget : Orleans.Runtime.IAddressable
type ISystemTarget = interface
    interface IAddressable
Public Interface ISystemTarget
Implements IAddressable
Derived
Implements

Extension Methods

AsReference(IAddressable, Type)

Returns a typed reference to the provided grain.

AsReference<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

BindGrainReference(IAddressable, IGrainFactory)

Binds the grain reference to the provided IGrainFactory.

Cast(IAddressable, Type)

Returns a typed reference to the provided grain.

Cast<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

GetGrainId(IAddressable)

Returns the grain id corresponding to the provided grain.

GetPrimaryKey(IAddressable, String)

Returns the Guid representation of a grain primary key.

GetPrimaryKey(IAddressable)

Returns the Guid representation of a grain primary key.

GetPrimaryKeyLong(IAddressable, String)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

GetPrimaryKeyString(IAddressable)

Returns the string primary key of the grain.

IsPrimaryKeyBasedOnLong(IAddressable)

Returns whether part of the primary key is of type long.

Applies to