Class JournalStateResettingListener

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class JournalStateResettingListener
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    Resets journal state on remote nodes after site import.

    Nodes that were offline during import will still have the wrong journal state, thus their journals would need to be removed manually before bringing them back online.

    Since:
    5.6
    • Constructor Detail

      • JournalStateResettingListener

        public JournalStateResettingListener​(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
                                             JournalStateStore journalStateStore)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception