Class SnapshotReaderHealthIndicator

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

@Component @ConditionalOnProperty(prefix="synapse.edison.health", name="snapshotreader.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnBean(de.otto.synapse.eventsource.EventSource.class) public class SnapshotReaderHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
  • Constructor Details

    • SnapshotReaderHealthIndicator

      public SnapshotReaderHealthIndicator()
  • Method Details

    • on

      @EventListener public void on(de.otto.synapse.info.SnapshotReaderNotification notification)
    • health

      public org.springframework.boot.actuate.health.Health health()
      Specified by:
      health in interface org.springframework.boot.actuate.health.HealthIndicator