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 Details

  • Method Details

    • onStart

      public void onStart()
      Specified by:
      onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAware
    • onStop

      public void onStop()
      Specified by:
      onStop in interface com.atlassian.sal.api.lifecycle.LifecycleAware