public class BootstrapRunnablesQueue extends Object implements RunnablesQueue
| Constructor and Description |
|---|
BootstrapRunnablesQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the current queue of runnables.
|
void |
offer(Runnable runnable)
Offer a runnable to be run on transaction commit.
|
void |
runAndClear()
Runs the runnable code currently in the queue and then clears the queue.
|
public void offer(Runnable runnable)
RunnablesQueueoffer in interface RunnablesQueuerunnable - the runnable in playpublic void clear()
RunnablesQueueclear in interface RunnablesQueuepublic void runAndClear()
RunnablesQueuerunAndClear in interface RunnablesQueueCopyright © 2002-2024 Atlassian. All Rights Reserved.