Class BootstrapRunnablesQueue

java.lang.Object
com.atlassian.jira.transaction.BootstrapRunnablesQueue
All Implemented Interfaces:
RunnablesQueue

public class BootstrapRunnablesQueue extends Object implements RunnablesQueue
Queue for JIRA setup container phase. It is not allowed in here to offer anything. Offering a runnables for this queue only happens, if there is a issue change transaction.
  • Constructor Details

    • BootstrapRunnablesQueue

      public BootstrapRunnablesQueue()
  • Method Details

    • offer

      public void offer(Runnable runnable)
      Description copied from interface: RunnablesQueue
      Offer a runnable to be run on transaction commit.
      Specified by:
      offer in interface RunnablesQueue
      Parameters:
      runnable - the runnable in play
    • clear

      public void clear()
      Description copied from interface: RunnablesQueue
      Clears the current queue of runnables.
      Specified by:
      clear in interface RunnablesQueue
    • runAndClear

      public void runAndClear()
      Description copied from interface: RunnablesQueue
      Runs the runnable code currently in the queue and then clears the queue.
      Specified by:
      runAndClear in interface RunnablesQueue