com.atlassian.confluence.impl.journal
Class JournalStateResettingListener
java.lang.Object
com.atlassian.confluence.impl.journal.JournalStateResettingListener
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
public class JournalStateResettingListener
- extends java.lang.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalStateResettingListener
public JournalStateResettingListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
JournalStateStore journalStateStore)
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
onEvent
@EventListener
public void onEvent(ClusterEventWrapper eventWrapper)
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2003-2014 Atlassian. All Rights Reserved.