Interface LexoRankSuspendManager

All Known Implementing Classes:
LexoRankSuspendManagerImpl

public interface LexoRankSuspendManager
Manages access and control of an application property that allows admins to suspend LexoRank's rebalancing. Enabling this will halt any currently running rebalance, and block any subsequent rebalances from occurring. JIRA will remain in this state until this property is explicitly disabled by an admin again.

This is an emergency eject for when LexoRank is causing larger performance problems, and should not be seen as a regular first-class feature.

  • Method Details

    • suspendLexoRankBalancing

      ServiceOutcome<Boolean> suspendLexoRankBalancing()
      Enable the property to block rebalancing.
      Returns:
      The new value of the property (should be true).
    • resumeLexoRankBalancing

      ServiceOutcome<Boolean> resumeLexoRankBalancing()
      Disable the property to block rebalancing.
      Returns:
      The new value of the property (should be false).
    • isSuspended

      boolean isSuspended()
      Returns:
      The current value of the property. This is false by default, and true when we have explicitly blocked rebalancing.