Edit

Share via


IGrainLocator.InvalidateCache Method

Definition

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.

Applies to