public class JournalStateResettingListener extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
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.
Constructor and Description |
---|
JournalStateResettingListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
JournalStateStore journalStateStore) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
onEvent(ClusterEventWrapper eventWrapper) |
public JournalStateResettingListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, JournalStateStore journalStateStore)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@EventListener public void onEvent(ClusterEventWrapper eventWrapper)
Copyright © 2003–2017 Atlassian. All rights reserved.