Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #96 from pstackle/deprecate-health-manager-constru…
Browse files Browse the repository at this point in the history
…ctors

deprecate methods that support explicitly configuring a name
  • Loading branch information
pstackle authored Jun 29, 2021
2 parents cbc3a4a + 9f2504c commit cf6ad2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public HealthCheckBundle() {
this(null);
}

@Deprecated
protected HealthCheckBundle(String name) {
this.name = name;
if (name != null) {
Expand Down Expand Up @@ -140,6 +141,7 @@ protected HealthCheckManager createHealthCheckManager(final List<HealthCheckConf
return new HealthCheckManager(healthCheckConfigs, scheduler, metrics, name);
}

@Deprecated
protected HealthCheckManager createHealthCheckManager(final List<HealthCheckConfiguration> healthCheckConfigs,
final HealthCheckScheduler scheduler,
final MetricRegistry metrics,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public HealthCheckManager(final List<HealthCheckConfiguration> configs,
this(configs, scheduler, metrics, managerName, DEFAULT_SHUTDOWN_WAIT_PERIOD, DEFAULT_INITIAL_OVERALL_STATE);
}

@Deprecated
public HealthCheckManager(final List<HealthCheckConfiguration> configs,
final HealthCheckScheduler scheduler,
final MetricRegistry metrics,
Expand Down

0 comments on commit cf6ad2c

Please sign in to comment.