Redigera

Dela via


IManagementGrain.GetActivationAddress(IAddressable) Method

Definition

Return the SiloAddress where a given Grain is activated (if any).

public System.Threading.Tasks.ValueTask<Orleans.Runtime.SiloAddress> GetActivationAddress (Orleans.Runtime.IAddressable reference);
abstract member GetActivationAddress : Orleans.Runtime.IAddressable -> System.Threading.Tasks.ValueTask<Orleans.Runtime.SiloAddress>
Public Function GetActivationAddress (reference As IAddressable) As ValueTask(Of SiloAddress)

Parameters

reference
IAddressable

The IAddressable to look up.

Returns

The SiloAddress where the Grain is activated or null if not activated taken from a snapshot of the last known state of the Grain Catalog.

Remarks

Please note that this method does not represent a strong consistent view of the Grain Catalog. The return of this method is taken based on a last known state of the grain which may or may not be up-to-date by the time the caller receive the request.

Applies to