IGrainRuntime.DeactivateOnIdle 方法

定义

重载

DeactivateOnIdle(Grain)
DeactivateOnIdle(IGrainContext)

在提供的 grain 变为空闲状态时将其停用。

DeactivateOnIdle(Grain)

Source:
IGrainRuntime.cs
public void DeactivateOnIdle (Orleans.Grain grain);
abstract member DeactivateOnIdle : Orleans.Grain -> unit
Public Sub DeactivateOnIdle (grain As Grain)

参数

grain
Grain

适用于

DeactivateOnIdle(IGrainContext)

在提供的 grain 变为空闲状态时将其停用。

public void DeactivateOnIdle (Orleans.Runtime.IGrainContext grainContext);
abstract member DeactivateOnIdle : Orleans.Runtime.IGrainContext -> unit
Public Sub DeactivateOnIdle (grainContext As IGrainContext)

参数

grainContext
IGrainContext

grain 上下文。

适用于