public abstract class FutureHelper
extends java.lang.Object
| Constructor and Description |
|---|
FutureHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addStackedListeners(java.util.Queue<Tuple3<Future<?>,IResultListener<?>,ICommand<IResultListener<?>>>> notifications)
Add listener notifications to the current thread.
|
static void |
notifyStackedListeners()
Process all collected listener notifications for the current thread.
|
static java.util.Queue<Tuple3<Future<?>,IResultListener<?>,ICommand<IResultListener<?>>>> |
removeStackedListeners()
Remove all collected listener notifications for the current thread.
|
public static void notifyStackedListeners()
public static java.util.Queue<Tuple3<Future<?>,IResultListener<?>,ICommand<IResultListener<?>>>> removeStackedListeners()
public static void addStackedListeners(java.util.Queue<Tuple3<Future<?>,IResultListener<?>,ICommand<IResultListener<?>>>> notifications)