SiloLifecycleSubject
class
Namespace: Orleans.Runtime
Decorator over lifecycle subject for silo. Adds some logging and monitoring
public class SiloLifecycleSubject : LifecycleSubject, ILifecycleObservable, ILifecycleObserver, ISiloLifecycle, ISiloLifecycleSubjectConstructors
SiloLifecycleSubject(ILogger<SiloLifecycleSubject>)Initializes a new instance of theSiloLifecycleSubjectclass.SiloLifecycleSubject(ILogger<SiloLifecycleSubject>, ILocalSiloDetails?)Initializes a new instance of theSiloLifecycleSubjectclass.
Properties
HighestCompletedStageThe highest lifecycle stage which has completed starting.LowestStoppedStageThe lowest lifecycle stage which has completed stopping.
Methods
OnStart(CancellationToken)Handle start notifications.Subscribe(string, int, ILifecycleObserver)Subscribe for notification when a stage is reached while starting or stopping.
