IGrainDirectory Interface

Definition

Interface for grain directory implementations

public interface IGrainDirectory
type IGrainDirectory = interface
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)

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, 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