IGrainLocator.TryLookupInCache(GrainId, GrainAddress) メソッド

定義

ローカル参照キャッシュで、指定されたグレイン ID のグレイン アドレスの検索を試みます。

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

パラメーター

grainId
GrainId

検索するグレイン ID。

address
GrainAddress

結果のグレイン アドレス (見つかった場合)、または null 見つからない場合は 。

戻り値

有効なエントリが見つかったかどうかを示す値。

適用対象