Package de.otto.synapse.edison.health
Class StartupHealthIndicator
- java.lang.Object
-
- de.otto.synapse.edison.health.AbstractChannelHealthIndicator
-
- de.otto.synapse.edison.health.StartupHealthIndicator
-
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,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 AbstractChannelHealthIndicatorA Spring Boot HealthIndicator that is healthy after finishing all events of anEventSourcefor the first time. Caution: If you add eventsources asynchronously please useFixedChannelHealthIndicatorinstead.
-
-
Field Summary
-
Fields inherited from class de.otto.synapse.edison.health.AbstractChannelHealthIndicator
TEN_SECONDS
-
-
Constructor Summary
Constructors Constructor Description StartupHealthIndicator(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources)
-
Method Summary
-
Methods inherited from class de.otto.synapse.edison.health.AbstractChannelHealthIndicator
health, on
-
-