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