Class StatusIndicatingStateRepository<T>

  • All Implemented Interfaces:
    de.otto.edison.status.indicator.StatusDetailIndicator, de.otto.synapse.state.StateRepository<T>, java.lang.AutoCloseable

    public class StatusIndicatingStateRepository<T>
    extends de.otto.synapse.state.DelegatingStateRepository<T>
    implements de.otto.edison.status.indicator.StatusDetailIndicator
    • Constructor Summary

      Constructors 
      Constructor Description
      StatusIndicatingStateRepository​(de.otto.synapse.state.StateRepository<T> stateRepository, java.lang.String repositoryName)  
    • Method Summary

      Modifier and Type Method Description
      void close()  
      java.util.List<de.otto.edison.status.domain.StatusDetail> statusDetails()  
      • Methods inherited from class de.otto.synapse.state.DelegatingStateRepository

        clear, compute, consumeAll, get, getName, keySet, put, remove, size
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.otto.synapse.state.StateRepository

        getIndexes
    • Constructor Detail

      • StatusIndicatingStateRepository

        public StatusIndicatingStateRepository​(de.otto.synapse.state.StateRepository<T> stateRepository,
                                               java.lang.String repositoryName)
    • Method Detail

      • statusDetails

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

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface de.otto.synapse.state.StateRepository<T>
        Overrides:
        close in class de.otto.synapse.state.DelegatingStateRepository<T>
        Throws:
        java.lang.Exception