Düzenle

Aracılığıyla paylaş


IGrainLifecycle Interface

Definition

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.

Applies to