Edit

Share via


ISiloLifecycleSubject Interface

Definition

Observable silo lifecycle and observer.

public interface ISiloLifecycleSubject : Orleans.ILifecycleObservable, Orleans.ILifecycleObserver, Orleans.Runtime.ISiloLifecycle
type ISiloLifecycleSubject = interface
    interface ISiloLifecycle
    interface ILifecycleObservable
    interface ILifecycleObserver
Public Interface ISiloLifecycleSubject
Implements ILifecycleObservable, ILifecycleObserver, ISiloLifecycle
Derived
Implements

Properties

HighestCompletedStage

The highest lifecycle stage which has completed starting.

(Inherited from ISiloLifecycle)
LowestStoppedStage

The lowest lifecycle stage which has completed stopping.

(Inherited from ISiloLifecycle)

Methods

OnStart(CancellationToken)

Handle start notifications.

(Inherited from ILifecycleObserver)
OnStop(CancellationToken)

Handle stop notifications.

(Inherited from ILifecycleObserver)
Subscribe(String, Int32, ILifecycleObserver)

Subscribe for notification when a stage is reached while starting or stopping.

(Inherited from ILifecycleObservable)

Extension Methods

OnStart(ILifecycleObserver)
OnStop(ILifecycleObserver)
Subscribe(ILifecycleObservable, Int32, ILifecycleObserver)

Creates a disposable subscription to the lifecycle.

Subscribe(ILifecycleObservable, String, Int32, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe(ILifecycleObservable, String, Int32, Func<CancellationToken,Task>, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe<TObserver>(ILifecycleObservable, Int32, ILifecycleObserver)

Creates a disposable subscription to the lifecycle.

Subscribe<TObserver>(ILifecycleObservable, Int32, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe<TObserver>(ILifecycleObservable, Int32, Func<CancellationToken,Task>, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Applies to