Package org.apache.mina.core.future
Class CompositeIoFuture<E extends IoFuture>
- java.lang.Object
-
- org.apache.mina.core.future.DefaultIoFuture
-
- org.apache.mina.core.future.CompositeIoFuture<E>
-
- Type Parameters:
E- the type of the child futures.
- All Implemented Interfaces:
IoFuture
public class CompositeIoFuture<E extends IoFuture> extends DefaultIoFuture
AnIoFutureofIoFutures. It is useful when you want to get notified when allIoFutures are complete. It is not recommended to useCompositeIoFutureif you just want to wait for all futures. In that case, please useIoUtil.await(Iterable)instead for better performance.- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description CompositeIoFuture(Iterable<E> children)Creates a new CompositeIoFuture instance
-
Method Summary
-
Methods inherited from class org.apache.mina.core.future.DefaultIoFuture
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getSession, getValue, isDone, join, join, removeListener, setValue
-
-