public ScaleController(
     IEnvironmentCoordinator environmentCoordinator,
     IScaleUpRequestStore scaleUpStore,
     AsyncAutoResetEvent trigger,
     ILogger <ScaleController> logger)
 {
     _environmentCoordinator = environmentCoordinator;
     _scaleUpStore           = scaleUpStore;
     _trigger = trigger;
     _logger  = logger;
 }
Пример #2
0
 public ScaleUpProcessorHost(
     IScaleUpRequestStore requestStore,
     IEnvironmentCoordinator envs,
     ManagementClientMsiProvider batchClientProvider,
     AsyncAutoResetEvent trigger,
     ILogger <ScaleUpProcessorHost> logger)
 {
     _requestStore   = requestStore;
     _clientProvider = batchClientProvider;
     _trigger        = trigger;
     _logger         = logger;
     _envs           = envs;
 }