IGrainLocator
interface
Namespace: Orleans.GrainDirectory
Used to locate Grain activation in the cluster
public interface IGrainLocatorMethods
InvalidateCache(GrainAddress)Removes the specified address from the lookup cache.InvalidateCache(GrainId)Invalidates any lookup cache entry associated with the provided grain id.Lookup(GrainId)Finds the corresponding address for a grain.Register(GrainAddress, GrainAddress?)Registers the provided address in the appropriate grain directory.TryLookupInCache(GrainId, GrainAddress?)Attempts to find the grain address for the provided grain id without performing asynchronous work. Implementations may consult local caches or authoritative local directory partitions.Unregister(GrainAddress, UnregistrationCause)Deregisters a grain address from the directory.UpdateCache(GrainId, SiloAddress)Updates the cache with a grain placement decision or known activation address.
