You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthIndicatorAutoConfiguration.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/health/HealthIndicatorAutoConfigurationTests.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java
+16-121
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,12 @@
16
16
17
17
packageorg.springframework.boot.actuate.health;
18
18
19
-
importjava.util.LinkedHashMap;
20
19
importjava.util.Map;
21
-
importjava.util.concurrent.CompletableFuture;
22
-
importjava.util.concurrent.ExecutionException;
23
-
importjava.util.concurrent.Executor;
24
-
importjava.util.concurrent.Future;
25
-
importjava.util.concurrent.TimeUnit;
26
-
importjava.util.concurrent.TimeoutException;
27
-
28
-
importorg.springframework.util.Assert;
29
20
30
21
/**
31
-
* {@link HealthIndicator} that returns health indications from all registered delegates.
22
+
* {@link HealthIndicator} that returns health indications from all registered delegates
23
+
* using the {@link HealthIndicatorStrategy} and aggregates the result via
24
+
* {@link HealthAggregator} into a final one.
32
25
*
33
26
* @author Tyler J. Frederick
34
27
* @author Phillip Webb
@@ -41,7 +34,7 @@ public class CompositeHealthIndicator implements HealthIndicator {
41
34
42
35
privatefinalHealthAggregatoraggregator;
43
36
44
-
privatefinalHealthStrategystrategy;
37
+
privatefinalHealthIndicatorStrategystrategy;
45
38
46
39
/**
47
40
* Create a new {@link CompositeHealthIndicator} from the specified indicators.
@@ -60,11 +53,20 @@ public CompositeHealthIndicator(HealthAggregator healthAggregator, Map<String, H
60
53
* @param registry the registry of {@link HealthIndicator HealthIndicators}.
0 commit comments