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 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 Summary
Constructors Constructor Description JournalStateResettingListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, JournalStateStore journalStateStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
void
onEvent(ClusterEventWrapper eventWrapper)
-
-
-
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 interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
onEvent
@EventListener public void onEvent(ClusterEventWrapper eventWrapper)
-
-