IGrainLifecycle Interface

Definition

The observable grain lifecycle.

public interface IGrainLifecycle : Orleans.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

Applies to

Product Versions
.NET Orleans 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0