IManagementGrain 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
接收器的系統管理功能介面,公開為接收遠端要求/命令的粒度。
public interface IManagementGrain : Orleans.IGrainWithIntegerKey, Orleans.IVersionManager
type IManagementGrain = interface
interface IGrainWithIntegerKey
interface IGrain
interface IAddressable
interface IVersionManager
Public Interface IManagementGrain
Implements IGrainWithIntegerKey, IVersionManager
- 實作
方法
FindLaggingSilos() |
請連絡所有叢集中的所有尋址接收器,並傳回沒有最新多叢集組態的尋址接收器。 如果無法連線到某些叢集和/或尋址接收器,則會擲回例外狀況。 |
ForceActivationCollection(SiloAddress[], TimeSpan) |
在指定的尋址接收器中執行啟用收集器。 |
ForceActivationCollection(TimeSpan) |
強制啟用收集。 |
ForceGarbageCollection(SiloAddress[]) |
在指定的尋址接收器中執行 .NET 垃圾收集行程。 |
ForceRuntimeStatisticsCollection(SiloAddress[]) |
在指定的尋址接收器中執行尋址接收器統計數據收集器。 |
GetActivationAddress(IAddressable) |
SiloAddress如果有任何) ,則傳回指定之 Grain 啟動的位置 (。 |
GetActiveGrains(GrainType) |
傳回指定之粒紋類型的所有啟用。 |
GetActiveGrainTypes(SiloAddress[]) |
傳回系統中所有作用中粒度類型的陣列 |
GetDetailedGrainStatistics(String[], SiloAddress[]) |
傳回最新的詳細粒度統計數據資訊,這些資訊會針對指定的型別跨接收器進行正規化。 |
GetDetailedHosts(Boolean) |
取得此叢集中目前已知之接收器主機和成員資格信息的清單。 |
GetGrainActivationCount(GrainReference) |
取得特定粒度類型的粒度啟用計數。 |
GetHosts(Boolean) |
取得此叢集中目前已知的接收器主機和狀態清單。 |
GetMultiClusterConfiguration() |
取得目前的多叢集組態。 |
GetMultiClusterGateways() |
取得目前的多叢集網關清單。 |
GetRuntimeStatistics(SiloAddress[]) |
傳回指定接收器的最新接收器運行時間統計數據資訊。 |
GetSimpleGrainStatistics() |
傳回最新的粒紋統計數據資訊,這些資訊會跨所有尋址接收器進行正規化。 |
GetSimpleGrainStatistics(SiloAddress[]) |
傳回最新的粒紋統計數據資訊,這些資訊會跨接收器進行正規化。 |
GetTotalActivationCount() |
傳回所有尋址接收器上所有目前粒紋啟用的總計數。 |
InjectMultiClusterConfiguration(IEnumerable<String>, String, Boolean) |
插入多叢集組態,以設定作用中的多叢集。 |
SendControlCommandToProvider(String, String, Int32, Object) |
在叢集中所有尋址接收器上的指定提供者上執行控制命令。
命令會傳送至每個尋址接收器 |
SendControlCommandToProvider<T>(String, Int32, Object) |
在叢集中所有尋址接收器上的指定提供者上執行控制命令。
命令會傳送至每個尋址接收器 |
SetAppLogLevel(SiloAddress[], Int32) |
設定應用程式粒度的目前記錄層級。 |
SetCompatibilityStrategy(CompatibilityStrategy) |
設定相容性策略。 (繼承來源 IVersionManager) |
SetCompatibilityStrategy(GrainInterfaceType, CompatibilityStrategy) |
設定特定介面的相容性策略。 (繼承來源 IVersionManager) |
SetCompatibilityStrategy(Int32, CompatibilityStrategy) |
設定特定介面的相容性策略 (繼承來源 IVersionManager) |
SetLogLevel(SiloAddress[], String, Int32) |
依名稱設定特定記錄器的目前記錄層級, (前置詞比對) 。 |
SetSelectorStrategy(GrainInterfaceType, VersionSelectorStrategy) |
設定特定介面的選取器策略。 (繼承來源 IVersionManager) |
SetSelectorStrategy(Int32, VersionSelectorStrategy) |
設定特定介面的選取器策略 (繼承來源 IVersionManager) |
SetSelectorStrategy(VersionSelectorStrategy) |
設定選取器策略。 (繼承來源 IVersionManager) |
SetSystemLogLevel(SiloAddress[], Int32) |
設定系統運行時間元件的目前記錄層級。 |
UpdateConfiguration(SiloAddress[], Dictionary<String,String>, Dictionary<String,String>) |
動態更新組態資訊。 只有組態資訊的子集可以更新 - 將會擲回錯誤 (,而且如果您指定無法變更的屬性或元素,則不會) 進行任何設定變更。 組態格式是 XML,格式與 OrleansConfiguration.xml 檔案的格式相同。 允許的項目與屬性如下: <OrleansConfiguration> <Globals> <Messaging ResponseTimeout="?"/> <Caching CacheSize="?"/> <Activation CollectionInterval="?" CollectionAmount="?" CollectionTotalMemoryLimit="?" CollectionActivationLimit="?"/> <Liveness ProbeTimeout="?" TableRefreshTimeout="?" NumMissedProbesLimit="?"/> </Globals> <Defaults> <LoadShedding Enabled="?" LoadLimit="?"/> <Tracing DefaultTraceLevel="?" PropagateActivityId="?"> <TraceLevelOverride LogPrefix="?" TraceLevel="?"/> </Tracing> </Defaults> </OrleansConfiguration> |
UpdateStreamProviders(SiloAddress[], IDictionary<String,ProviderCategoryConfiguration>) |
動態更新數據流提供者。 列出的尋址接收器中的數據流提供者會根據其載入的數據流提供者與 streamProviderConfigurations 中的提供者清單之間的差異來更新:如果組態物件中的提供者已存在於尋址接收器中,則會保持原狀;如果組態物件中的提供者不存在於接收器中,則會載入並啟動它;如果存在於尋址接收器但不在組態物件中的提供者,則會從接收器停止並移除。 |
擴充方法
AsReference(IAddressable, Type) |
傳回所提供粒度的具型別參考。 |
AsReference<TGrainInterface>(IAddressable) |
傳回所提供粒度的具型別參考。 |
BindGrainReference(IAddressable, IGrainFactory) |
將粒度參考系結至提供的 IGrainFactory。 |
Cast(IAddressable, Type) |
傳回所提供粒度的具型別參考。 |
Cast<TGrainInterface>(IAddressable) |
傳回所提供粒度的具型別參考。 |
GetGrainId(IAddressable) |
傳回對應至所提供粒紋的粒度標識碼。 |
GetGrainIdentity(IGrain) |
接收器的系統管理功能介面,公開為接收遠端要求/命令的粒度。 |
GetPrimaryKey(IGrain) |
接收器的系統管理功能介面,公開為接收遠端要求/命令的粒度。 |
GetPrimaryKey(IGrain, String) |
接收器的系統管理功能介面,公開為接收遠端要求/命令的粒度。 |
GetPrimaryKey(IAddressable) |
傳 Guid 回粒度主鍵的表示法。 |
GetPrimaryKey(IAddressable, String) |
傳 Guid 回粒度主鍵的表示法。 |
GetPrimaryKeyLong(IGrain) |
接收器的系統管理功能介面,公開為接收遠端要求/命令的粒度。 |
GetPrimaryKeyLong(IGrain, String) |
接收器的系統管理功能介面,公開為接收遠端要求/命令的粒度。 |
GetPrimaryKeyLong(IAddressable) |
傳 |
GetPrimaryKeyLong(IAddressable, String) |
傳 |
GetPrimaryKeyString(IAddressable) |
傳 |
IsPrimaryKeyBasedOnLong(IAddressable) |
傳回主鍵的一部分是否為類型 |