Edit

IGrainDirectoryCache.AddOrUpdate(GrainAddress, Int32) Method

Definition

Adds a new entry with the given version into the cache: key (grain) --> value The new entry will override any existing entry under the given key, regardless of the stored version

public void AddOrUpdate(Orleans.Runtime.GrainAddress value, int version);
abstract member AddOrUpdate : Orleans.Runtime.GrainAddress * int -> unit
Public Sub AddOrUpdate (value As GrainAddress, version As Integer)

Parameters

value
GrainAddress

value to add

version
Int32

version for the value

Applies to