Edit

Share via


IGrainDirectoryCache.LookUp(GrainId, GrainAddress, Int32) Method

Definition

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

Applies to