Dispose
public void Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()public ValueTask DisposeAsync()public Task Initialize(CancellationToken ct = default(CancellationToken))ctCancellationTokenpublic Task<GrainAddress?> Lookup(GrainId grainId)GrainAddress for a given Grain ID. grainIdGrainIdGrainAddress entry found in the directory, if anypublic void Participate(ISiloLifecycle lifecycle)lifecycleISiloLifecyclepublic Task<GrainAddress?> Register(GrainAddress address)GrainAddress entry in the directory. Only one GrainAddress per GrainAddress can be registered. If there is already an existing entry, the directory will not override it. addressGrainAddressGrainAddress to registerGrainAddress that is effectively registered in the directory.public Task<GrainAddress?> Register(GrainAddress address, GrainAddress? previousAddress)GrainAddress entry in the directory. Only one GrainAddress per GrainAddress can be registered. If there is already an existing entry, the directory will not override it. addressGrainAddressGrainAddress to registerpreviousAddressGrainAddress?GrainAddress that is effectively registered in the directory.public Task Unregister(GrainAddress address)GrainAddress entry from the directory. addressGrainAddressGrainAddress to unregister. System.Threading.Tasks.Task representing the operation. public Task UnregisterSilos(List<SiloAddress> siloAddresses)siloAddressesList<SiloAddress>System.Threading.Tasks.Task representing the operation.