Skip to content

GrainService

class

Namespace: Orleans.Runtime

Base class for implementing a grain-like partitioned service with per silo instances of it automatically instantiated and started by silo runtime
public abstract class GrainService : SystemTarget, ISystemTarget, IRingRangeListener, IAddressable, IGrainService

Constructors

Properties

  • RangeSerialNumberGets the monotonically increasing serial number of the version of the ring range owned by the grain service instance
  • RingRangeGets the range of the partitioning ring currently owned by the grain service instance
  • StatusGets the status of the grain service instance
  • StoppedCancellationTokenSourceGets the token for signaling cancellation upon stopping of grain service

Methods