public ActiveWorkersCheck()

in src/main/java/com/googlesource/gerrit/plugins/healthcheck/check/ActiveWorkersCheck.java [39:51]


  public ActiveWorkersCheck(
      @GerritServerConfig Config gerritConfig,
      ListeningExecutorService executor,
      HealthCheckConfig healthCheckConfig,
      ThreadSettingsConfig threadSettingsConfig,
      MetricRegistry metricRegistry,
      HealthCheckMetrics.Factory healthCheckMetricsFactory) {
    super(executor, healthCheckConfig, ACTIVEWORKERS, healthCheckMetricsFactory);
    this.threshold = healthCheckConfig.getActiveWorkersThreshold(ACTIVEWORKERS);
    this.metricRegistry = metricRegistry;
    this.interactiveThreadsMaxPoolSize =
        getInteractiveThreadsMaxPoolSize(threadSettingsConfig, gerritConfig);
  }