Class OpenSearchJournalChecker
java.lang.Object
com.atlassian.confluence.plugins.opensearch.OpenSearchJournalChecker
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
public class OpenSearchJournalChecker
extends Object
implements com.atlassian.sal.api.lifecycle.LifecycleAware
Used to check the journal state after the plugin has started. We check here as checking the journal state for every
enqueue is expensive in OpenSearch.
- Since:
- 8.9
-
Constructor Summary
ConstructorsConstructorDescriptionOpenSearchJournalChecker
(JournalService journalService, OpenSearchJournalStateStore journalStateStore) -
Method Summary
-
Constructor Details
-
OpenSearchJournalChecker
public OpenSearchJournalChecker(JournalService journalService, OpenSearchJournalStateStore journalStateStore)
-
-
Method Details
-
onStart
public void onStart()- Specified by:
onStart
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onStop
public void onStop()- Specified by:
onStop
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-