IGrainDirectoryCache Interface
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.
Caches grain directory entries.
public interface IGrainDirectoryCache
type IGrainDirectoryCache = interface
Public Interface IGrainDirectoryCache
Properties
KeyValues |
Returns list of key-value-version tuples stored currently in the cache. |
Methods
AddOrUpdate(GrainAddress, Int32) |
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 |
Clear() |
Clear the cache, deleting all entries. |
LookUp(GrainId, GrainAddress, Int32) |
Looks up the cached value and version by the given key |
Remove(GrainAddress) |
Removes an entry from the cache given its key |
Remove(GrainId) |
Removes an entry from the cache given its key |