Class FixedChannelHealthIndicator

java.lang.Object
de.otto.synapse.edison.health.AbstractChannelHealthIndicator
de.otto.synapse.edison.health.FixedChannelHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component
@ConditionalOnProperty(prefix="synapse.edison.health",
                       name="fixedChannel.enabled",
                       havingValue="true")
@ConditionalOnBean(de.otto.synapse.eventsource.EventSource.class)
public class FixedChannelHealthIndicator
extends AbstractChannelHealthIndicator
A Spring Boot HealthIndicator that is healthy after finishing all events of a fixed list of EventSource for the first time.
  • Field Summary

    Fields inherited from class de.otto.synapse.edison.health.AbstractChannelHealthIndicator

    TEN_SECONDS
  • Constructor Summary

    Constructors 
    Constructor Description
    FixedChannelHealthIndicator​(java.util.Set<java.lang.String> fixedChannelNames)  
  • Method Summary

    Methods inherited from class de.otto.synapse.edison.health.AbstractChannelHealthIndicator

    health, on

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator

    getHealth
  • Constructor Details

    • FixedChannelHealthIndicator

      @Autowired public FixedChannelHealthIndicator​(@Value("${synapse.edison.health.fixedChannel.names}") java.util.Set<java.lang.String> fixedChannelNames)