Class SnapshotStatusDetailIndicator

  • All Implemented Interfaces:
    de.otto.edison.status.indicator.StatusDetailIndicator

    @Component
    public class SnapshotStatusDetailIndicator
    extends java.lang.Object
    implements de.otto.edison.status.indicator.StatusDetailIndicator
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapshotStatusDetailIndicator​(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources)  
    • Method Summary

      Modifier and Type Method Description
      void on​(de.otto.synapse.info.SnapshotReaderNotification notification)  
      java.util.List<de.otto.edison.status.domain.StatusDetail> statusDetails()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SnapshotStatusDetailIndicator

        @Autowired
        public SnapshotStatusDetailIndicator​(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources)
    • Method Detail

      • on

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

        public java.util.List<de.otto.edison.status.domain.StatusDetail> statusDetails()
        Specified by:
        statusDetails in interface de.otto.edison.status.indicator.StatusDetailIndicator