org.apache.mina.core.future
Class CompositeIoFuture<E extends IoFuture>

java.lang.Object
  extended by org.apache.mina.core.future.DefaultIoFuture
      extended by 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

An IoFuture of IoFutures. It is useful when you want to get notified when all IoFutures 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.

Version:
$Rev: 671827 $, $Date: 2008-06-26 10:49:48 +0200 (jeu, 26 jun 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
CompositeIoFuture(Iterable<E> children)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeIoFuture

public CompositeIoFuture(Iterable<E> children)


Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.