IGrainDirectoryCache.LookUp(GrainId, GrainAddress, Int32) 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.
Looks up the cached value and version by the given key
public bool LookUp (Orleans.Runtime.GrainId key, out Orleans.Runtime.GrainAddress result, out int version);
abstract member LookUp : Orleans.Runtime.GrainId * GrainAddress * int -> bool
Public Function LookUp (key As GrainId, ByRef result As GrainAddress, ByRef version As Integer) As Boolean
Parameters
- key
- GrainId
key for the lookup
- result
- GrainAddress
value if the key is found, undefined otherwise
- version
- Int32
version of cached value if the key is found, undefined otherwise
Returns
true if the given key is in the cache