IGrainLocator.InvalidateCache 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.
Overloads
InvalidateCache(GrainAddress) |
Removes the specified address from the lookup cache. |
InvalidateCache(GrainId) |
Invalidates any lookup cache entry associated with the provided grain id. |
InvalidateCache(GrainAddress)
Removes the specified address from the lookup cache.
public void InvalidateCache (Orleans.Runtime.GrainAddress address);
abstract member InvalidateCache : Orleans.Runtime.GrainAddress -> unit
Public Sub InvalidateCache (address As GrainAddress)
Parameters
- address
- GrainAddress
The grain address to invalidate.
Applies to
InvalidateCache(GrainId)
Invalidates any lookup cache entry associated with the provided grain id.
public void InvalidateCache (Orleans.Runtime.GrainId grainId);
abstract member InvalidateCache : Orleans.Runtime.GrainId -> unit
Public Sub InvalidateCache (grainId As GrainId)
Parameters
- grainId
- GrainId
The grain id.