Package de.otto.synapse.edison.health
Class StartupHealthIndicator
- java.lang.Object
-
- de.otto.synapse.edison.health.StartupHealthIndicator
-
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthIndicator
@Component @ConditionalOnProperty(prefix="synapse.edison.health", name="startup.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnBean(de.otto.synapse.eventsource.EventSource.class) public class StartupHealthIndicator extends java.lang.Object implements org.springframework.boot.actuate.health.HealthIndicatorA Spring Boot HealthIndicator that is healthy after finishing all events of anEventSourcefor the first time.
-
-
Field Summary
Fields Modifier and Type Field Description static longTEN_SECONDS
-
Constructor Summary
Constructors Constructor Description StartupHealthIndicator(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources)
-
-
-
Field Detail
-
TEN_SECONDS
public static final long TEN_SECONDS
- See Also:
- Constant Field Values
-
-