Skip to content

SystemTarget

class

Namespace: Orleans.Runtime

Base class for various system services, such as grain directory, reminder service, etc. Made public for GrainService to inherit from it. Can be turned to internal after a refactoring that would remove the inheritance relation.
public abstract class SystemTarget : ISystemTarget, ISystemTargetBase, IAddressable, IGrainCallCancellationExtension, IGrainContext, IGrainExtension, IGrainExtensionBinder, IGrainTimerRegistry, ITargetHolder, IDisposable, IEquatable<IGrainContext>, IFormattable, ISpanFormattable

Properties

  • ActivationServices Gets the System.IServiceProvider that provides access to the grain activation's service container.
  • Deactivated Gets the System.Threading.Tasks.Task which completes when the grain has deactivated.
  • GrainId Gets the grain identity.
  • GrainReference Gets a reference to this grain.
  • Scheduler Gets the scheduler.
  • SiloSilo address of the system target.

Methods