public class ParallelWhenAll extends java.lang.Object implements NotificationHandlingStrategy
Returns when all threads (handlers) are finished.
In case of any exception(s), they are captured in an AggregateException.
| Constructor and Description |
|---|
ParallelWhenAll(java.util.concurrent.ExecutorService threadPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.util.List<java.lang.Runnable> runnableNotifications) |
public ParallelWhenAll(java.util.concurrent.ExecutorService threadPool)
public void handle(java.util.List<java.lang.Runnable> runnableNotifications)
handle in interface NotificationHandlingStrategy