Redigera

Dela via


IManagementGrain.GetGrainActivationCount(GrainReference) Method

Definition

Gets the grain activation count for a specific grain type.

public System.Threading.Tasks.Task<int> GetGrainActivationCount (Orleans.Runtime.GrainReference grainReference);
abstract member GetGrainActivationCount : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task<int>
Public Function GetGrainActivationCount (grainReference As GrainReference) As Task(Of Integer)

Parameters

grainReference
GrainReference

The grain reference.

Returns

Gets the number of activations of grains with the same type as the provided grain reference.

Applies to