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
ForceActivationCollection(SiloAddress[], TimeSpan)Perform a run of the Orleans activation collector in the specified silos.ForceActivationCollection(TimeSpan)Forces activation collection.ForceGarbageCollection(SiloAddress[])Perform a run of the .NET garbage collector in the specified silos.ForceRuntimeStatisticsCollection(SiloAddress[])Perform a run of the silo statistics collector in the specified silos.GetActivationAddress(IAddressable)Return theSiloAddresswhere a given Grain is activated (if any).GetActiveGrains(GrainType)Returns all activations of the specified grain type.GetDetailedGrainStatistics(string[], SiloAddress[])Returns the most recent detailed grain statistics information, amalgamated across silos for the specified types.GetDetailedHosts(bool)Get the list of silo hosts and membership information currently known about in this cluster.GetGrainActivationCount(GrainReference)Gets the grain activation count for a specific grain type.GetGrainCallFrequencies(SiloAddress[])Gets estimated grain call frequency statistics from the specified hosts.GetHosts(bool)Get the list of silo hosts and statuses currently known about in this cluster.GetRuntimeStatistics(SiloAddress[])Return the most recent silo runtime statistics information for the specified silos.GetSimpleGrainStatisticsReturn the most recent grain statistics information, amalgamated across all silos.GetSimpleGrainStatistics(SiloAddress[])Return the most recent grain statistics information, amalgamated across silos.GetTotalActivationCountReturn the total count of all current grain activations across all silos.ResetGrainCallFrequencies(SiloAddress[])For testing only. Resets grain call frequency counts on the specified hosts.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.
