IGrainDirectoryCache.AddOrUpdate(GrainAddress, Int32) 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.
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