net.tomp2p.futures
Class FutureLateJoin<K extends BaseFuture>

java.lang.Object
  extended by net.tomp2p.futures.BaseFutureImpl
      extended by net.tomp2p.futures.FutureLateJoin<K>
All Implemented Interfaces:
BaseFuture, Cancellable

public class FutureLateJoin<K extends BaseFuture>
extends BaseFutureImpl
implements BaseFuture


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.tomp2p.futures.BaseFuture
BaseFuture.FutureType
 
Field Summary
 
Fields inherited from class net.tomp2p.futures.BaseFutureImpl
completed, lock, reason, type
 
Constructor Summary
FutureLateJoin(int nrMaxFutures)
           
 
Method Summary
 void add(K future)
           
 List<K> getFutures()
           
 
Methods inherited from class net.tomp2p.futures.BaseFutureImpl
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, getFailedReason, getType, isCompleted, isFailed, isSuccess, notifyListerenrs, removeCancellation, removeListener, setCompletedAndNotify, setFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.tomp2p.futures.BaseFuture
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, getFailedReason, getType, isCompleted, isFailed, isSuccess, removeCancellation, removeListener, setFailed
 
Methods inherited from interface net.tomp2p.futures.Cancellable
cancel
 

Constructor Detail

FutureLateJoin

public FutureLateJoin(int nrMaxFutures)
Method Detail

add

public void add(K future)

getFutures

public List<K> getFutures()


Copyright © 2011. All Rights Reserved.