Class StateRepositoryStatusDetailIndicator

java.lang.Object
de.otto.synapse.edison.statusdetail.StateRepositoryStatusDetailIndicator
All Implemented Interfaces:
de.otto.edison.status.indicator.StatusDetailIndicator, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class StateRepositoryStatusDetailIndicator extends Object implements de.otto.edison.status.indicator.StatusDetailIndicator, org.springframework.context.SmartLifecycle
This status detail indicator indicates the number of entries in the given state repository.
  • Constructor Details

    • StateRepositoryStatusDetailIndicator

      public StateRepositoryStatusDetailIndicator(de.otto.synapse.state.StateRepository<?> stateRepository, String repositoryName)
  • Method Details

    • statusDetails

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

      public boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface org.springframework.context.SmartLifecycle
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle