com.atlassian.confluence.impl.journal
Class JournalStateResettingListener

java.lang.Object
  extended by 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
JournalStateResettingListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, JournalStateStore journalStateStore)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void onEvent(ClusterEventWrapper eventWrapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

onEvent

@EventListener
public void onEvent(ClusterEventWrapper eventWrapper)

destroy

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


Copyright © 2003–2015 Atlassian. All rights reserved.