Package com.atlassian.jira.transaction
Class BootstrapRunnablesQueue
java.lang.Object
com.atlassian.jira.transaction.BootstrapRunnablesQueue
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the current queue of runnables.voidOffer a runnable to be run on transaction commit.voidRuns the runnable code currently in the queue and then clears the queue.
-
Constructor Details
-
BootstrapRunnablesQueue
public BootstrapRunnablesQueue()
-
-
Method Details
-
offer
Description copied from interface:RunnablesQueueOffer a runnable to be run on transaction commit.- Specified by:
offerin interfaceRunnablesQueue- Parameters:
runnable- the runnable in play
-
clear
public void clear()Description copied from interface:RunnablesQueueClears the current queue of runnables.- Specified by:
clearin interfaceRunnablesQueue
-
runAndClear
public void runAndClear()Description copied from interface:RunnablesQueueRuns the runnable code currently in the queue and then clears the queue.- Specified by:
runAndClearin interfaceRunnablesQueue
-