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

java.lang.Object
  extended by net.tomp2p.futures.BaseFutureImpl
      extended by net.tomp2p.futures.FutureWrapper<K>
All Implemented Interfaces:
BaseFuture, Cancellable
Direct Known Subclasses:
FutureWrappedBootstrap

public class FutureWrapper<K extends BaseFuture>
extends BaseFutureImpl


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
FutureWrapper()
           
 
Method Summary
 K getWrappedFuture()
           
 void waitFor(K future)
           
 
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
 

Constructor Detail

FutureWrapper

public FutureWrapper()
Method Detail

waitFor

public void waitFor(K future)

getWrappedFuture

public K getWrappedFuture()


Copyright © 2011. All Rights Reserved.