E
- the type of the child futures.public class CompositeIoFuture<E extends IoFuture> extends DefaultIoFuture
IoFuture
of IoFuture
s. It is useful when you want to
get notified when all IoFuture
s are complete. It is not recommended
to use CompositeIoFuture
if you just want to wait for all futures.
In that case, please use IoUtil.await(Iterable)
instead
for better performance.构造器和说明 |
---|
CompositeIoFuture(java.lang.Iterable<E> children) |
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getSession, getValue, isDone, join, join, removeListener, setValue
public CompositeIoFuture(java.lang.Iterable<E> children)