Edit

Share via


IGrainLocator.TryLookupInCache(GrainId, GrainAddress) Method

Definition

Attempts to find the grain address for the provided grain id in the local lookup cache.

public bool TryLookupInCache (Orleans.Runtime.GrainId grainId, out Orleans.Runtime.GrainAddress? address);
abstract member TryLookupInCache : Orleans.Runtime.GrainId * GrainAddress -> bool
Public Function TryLookupInCache (grainId As GrainId, ByRef address As GrainAddress) As Boolean

Parameters

grainId
GrainId

The grain id to find.

address
GrainAddress

The resulting grain address, if found, or null if not found.

Returns

A value indicating whether a valid entry was found.

Applies to