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 java.lang.Object
implements org.springframework.boot.actuate.health.HealthIndicator
  • Constructor Summary

    Constructors 
    Constructor Description
    SnapshotReaderHealthIndicator()  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.boot.actuate.health.Health health()  
    void on​(de.otto.synapse.info.SnapshotReaderNotification notification)  

    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

  • 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