public abstract class FutureHelper extends Object
Constructor and Description |
---|
FutureHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addStackedListeners(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 List<Tuple2<Future<?>,IResultListener<?>>> |
removeStackedListeners()
Remove all collected listener notifications for the current thread.
|
public static boolean notifyStackedListeners()
public static List<Tuple2<Future<?>,IResultListener<?>>> removeStackedListeners()
public static void addStackedListeners(List<Tuple2<Future<?>,IResultListener<?>>> notifications)
Copyright © 2013. All Rights Reserved.