AzureTableGrainDirectory
class
Namespace: Orleans.GrainDirectory.AzureStorage
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class AzureTableGrainDirectory : IGrainDirectory, ILifecycleParticipant<ISiloLifecycle>Constructors
Methods
InitializeIfNeeded(CancellationToken)Lookup(GrainId)Lookup for aGrainAddressfor a given Grain ID.Participate(ISiloLifecycle)Adds the provided observer as a participant in the lifecycle.Register(GrainAddress)Register aGrainAddressentry in the directory. Only oneGrainAddressperGrainAddresscan be registered. If there is already an existing entry, the directory will not override it.Register(GrainAddress, GrainAddress?)Register aGrainAddressentry in the directory. Only oneGrainAddressperGrainAddresscan be registered. If there is already an existing entry, the directory will not override it.Unregister(GrainAddress)Unregisters the specifiedGrainAddressentry from the directory.UnregisterMany(List<GrainAddress>)UnregisterSilos(List<SiloAddress>)Unregisters all grain directory entries which point to any of the specified silos.
