IGrainLifecycle Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The observable grain lifecycle.
public interface IGrainLifecycle : Orleans.ILifecycleObservable
type IGrainLifecycle = interface
interface ILifecycleObservable
Public Interface IGrainLifecycle
Implements ILifecycleObservable
- Implements
Remarks
This type is usually used as the generic parameter in ILifecycleParticipant<TLifecycleObservable> as a means of participating in the lifecycle stages of a grain activation.
Methods
AddMigrationParticipant(IGrainMigrationParticipant) |
Registers a grain migration participant. |
RemoveMigrationParticipant(IGrainMigrationParticipant) |
Unregisters a grain migration participant. |
Subscribe(String, Int32, ILifecycleObserver) |
Subscribe for notification when a stage is reached while starting or stopping. (Inherited from ILifecycleObservable) |
Extension Methods
Subscribe(ILifecycleObservable, Int32, ILifecycleObserver) |
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(ILifecycleObservable, String, Int32, 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>, Func<CancellationToken,Task>) |
Creates a disposable subscription to the lifecycle. |
Subscribe<TObserver>(ILifecycleObservable, Int32, Func<CancellationToken,Task>) |
Creates a disposable subscription to the lifecycle. |