IGrainDirectory Interface

Definition

Interface for grain directory implementations

C#
public interface IGrainDirectory
Derived

Methods

Lookup(GrainId)

Lookup for a GrainAddress for a given Grain ID.

Lookup(String)

Lookup for a GrainAddress for a given Grain ID.

Register(GrainAddress, GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

Register(GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

Register(GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

Unregister(GrainAddress)

Unregister a GrainAddress entry in the directory.

Unregister(GrainAddress)

Unregisters the specified GrainAddress entry from the directory.

UnregisterSilos(List<SiloAddress>)

Unregisters all grain directory entries which point to any of the specified silos.

UnregisterSilos(List<String>)

Unregister from the directory all entries that point to one of the silo in argument. Can be a NO-OP depending on the implementation.

Applies to

Product Versions
.NET Orleans 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0