public InsightsStatusMessageFactory(
     IInsightsMetadataFactory insightsMetadataFactory,
     IInsightsInfoProvider <Dictionary <string, NodeStatusInfo> > connectedNodesInfoProvider)
 {
     _insightsMetadataFactory    = insightsMetadataFactory;
     _connectedNodesInfoProvider = connectedNodesInfoProvider;
 }
Beispiel #2
0
 public InsightsInfoProvidersCollection(
     IInsightsInfoProvider <InsightsPlatformInfo> platformInfoProvider,
     IInsightsInfoProvider <Dictionary <string, ExecutionProfileInfo> > executionProfileInfoProvider,
     IInsightsInfoProvider <PoolSizeByHostDistance> poolSizeByHostDistanceInfoProvider,
     IInsightsInfoProvider <AuthProviderInfo> authProviderInfoProvider,
     IInsightsInfoProvider <HashSet <string> > dataCentersInfoProvider,
     IInsightsInfoProvider <Dictionary <string, object> > otherOptionsInfoProvider,
     IInsightsInfoProvider <Dictionary <string, string> > configAntiPatternsInfoProvider,
     IInsightsInfoProvider <PolicyInfo> reconnectionPolicyInfoProvider,
     IInsightsInfoProvider <DriverInfo> driverInfoProvider,
     IInsightsInfoProvider <string> hostnameProvider)
 {
     PlatformInfoProvider               = platformInfoProvider;
     ExecutionProfileInfoProvider       = executionProfileInfoProvider;
     PoolSizeByHostDistanceInfoProvider = poolSizeByHostDistanceInfoProvider;
     AuthProviderInfoProvider           = authProviderInfoProvider;
     DataCentersInfoProvider            = dataCentersInfoProvider;
     OtherOptionsInfoProvider           = otherOptionsInfoProvider;
     ConfigAntiPatternsInfoProvider     = configAntiPatternsInfoProvider;
     ReconnectionPolicyInfoProvider     = reconnectionPolicyInfoProvider;
     DriverInfoProvider = driverInfoProvider;
     HostnameProvider   = hostnameProvider;
 }