Skip to content

RedisGrainDirectory Methods

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.

Dispose

View source
public void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DisposeAsync

View source
public ValueTask DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

Returns

A task that represents the asynchronous dispose operation.

Participate(ISiloLifecycle)

View source
public void Participate(ISiloLifecycle lifecycle)
Adds the provided observer as a participant in the lifecycle.

Parameters

lifecycleISiloLifecycle
The observer.

UnregisterSilos(List<SiloAddress>)

View source
public Task UnregisterSilos(List<SiloAddress> siloAddresses)
Unregisters all grain directory entries which point to any of the specified silos.

Parameters

siloAddressesList<SiloAddress>
The silos to be removed from the directory

Returns

A System.Threading.Tasks.Task representing the operation.