IManagementGrain
interface
Namespace: Orleans.Runtime
Interface for system management functions of silos, exposed as a grain for receiving remote requests / commands.
public interface IManagementGrain : IGrain, IGrainWithIntegerKey, IVersionManager, IAddressableMethods
DeactivateGrain(GrainId, CancellationToken)Deactivates existing instances of the specified grain on all currently active silos.ForceActivationCollection(SiloAddress[], TimeSpan)Perform a run of the Orleans activation collector in the specified silos.ForceActivationCollection(TimeSpan)Forces activation collection.ForceActivationCollection(SiloAddress[], TimeSpan, CancellationToken)ForceActivationCollection(TimeSpan, CancellationToken)ForceGarbageCollection(SiloAddress[])Perform a run of the .NET garbage collector in the specified silos.ForceGarbageCollection(SiloAddress[], CancellationToken)ForceRuntimeStatisticsCollection(SiloAddress[])Perform a run of the silo statistics collector in the specified silos.ForceRuntimeStatisticsCollection(SiloAddress[], CancellationToken)GetActivationAddress(IAddressable)Return theSiloAddresswhere a given Grain is activated (if any).GetActivationAddress(IAddressable, CancellationToken)GetActiveGrains(GrainType)Returns all activations of the specified grain type.GetActiveGrains(GrainType, CancellationToken)GetDetailedGrainStatistics(string[]?, SiloAddress[]?)Returns the most recent detailed grain statistics information, amalgamated across silos for the specified types.GetDetailedGrainStatistics(string[]?, SiloAddress[]?, CancellationToken)GetDetailedHosts(bool)Get the list of silo hosts and membership information currently known about in this cluster.GetDetailedHosts(bool, CancellationToken)GetGrainActivationCount(GrainReference)Gets the grain activation count for a specific grain type.GetGrainActivationCount(GrainReference, CancellationToken)GetGrainCallFrequencies(SiloAddress[]?)Gets estimated grain call frequency statistics from the specified hosts.GetGrainCallFrequencies(SiloAddress[]?, CancellationToken)GetHosts(bool)Get the list of silo hosts and statuses currently known about in this cluster.GetHosts(bool, CancellationToken)GetRuntimeStatistics(SiloAddress[])Return the most recent silo runtime statistics information for the specified silos.GetRuntimeStatistics(SiloAddress[], CancellationToken)GetSimpleGrainStatisticsReturn the most recent grain statistics information, amalgamated across all silos.GetSimpleGrainStatistics(SiloAddress[])Return the most recent grain statistics information, amalgamated across silos.GetSimpleGrainStatistics(CancellationToken)GetSimpleGrainStatistics(SiloAddress[], CancellationToken)GetTotalActivationCountReturn the total count of all current grain activations across all silos.GetTotalActivationCount(CancellationToken)ResetGrainCallFrequencies(SiloAddress[]?)For testing only. Resets grain call frequency counts on the specified hosts.ResetGrainCallFrequencies(SiloAddress[]?, CancellationToken)SendControlCommandToProvider(string, int, object?)Execute a control command on the specified providers on all silos in the cluster. Commands are sent to all known providers on each silo which match both theproviderTypeFullNameANDproviderNameparameters.SendControlCommandToProvider(string, int, object?, CancellationToken)
