Skip to content

IGrainManagementExtension Methods

Provides functionality for performing management operations on a grain activation.

DeactivateOnIdle

abstract
View source
[Orleans.Alias(DeactivateOnIdle)]
public abstract ValueTask DeactivateOnIdle()
Deactivates the current instance once it becomes idle.

Returns

A System.Threading.Tasks.Task which represents the method call.

DeactivateOnIdle(CancellationToken)

virtual
View source
[Orleans.Alias(1B9614D1)]
public virtual ValueTask DeactivateOnIdle(CancellationToken cancellationToken)
Deactivates the current instance once it becomes idle.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task which represents the method call.

MigrateOnIdle

abstract
View source
[Orleans.Alias(MigrateOnIdle)]
public abstract ValueTask MigrateOnIdle()
Attempts to migrate the current instance to a new location once it becomes idle.

Returns

A System.Threading.Tasks.Task which represents the method call.

MigrateOnIdle(CancellationToken)

virtual
View source
[Orleans.Alias(4CC93B45)]
public virtual ValueTask MigrateOnIdle(CancellationToken cancellationToken)
Attempts to migrate the current instance to a new location once it becomes idle.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task which represents the method call.