IGrainDirectoryCache
interface
Namespace: Orleans.Runtime.GrainDirectory
Caches grain directory entries.
public interface IGrainDirectoryCacheProperties
KeyValuesReturns list of key-value-version tuples stored currently in the cache.
Methods
AddOrUpdate(GrainAddress, int)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 versionClearClear the cache, deleting all entries.LookUp(GrainId, GrainAddress, int)Looks up the cached value and version by the given keyRemove(GrainAddress)Removes an entry from the cache given its keyRemove(GrainId)Removes an entry from the cache given its key
