IGrainLocator.TryLookupInCache(GrainId, GrainAddress) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.