org.testng.internal.thread
Class FutureResultAdapter

java.lang.Object
  extended by org.testng.internal.thread.FutureResultAdapter
All Implemented Interfaces:
IFutureResult

public class FutureResultAdapter
extends java.lang.Object
implements IFutureResult

A very reduced interface of Future.

Author:
Constructor Summary
FutureResultAdapter(java.util.concurrent.Future<?> future)
           
 
Method Summary
 java.lang.Object get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FutureResultAdapter

public FutureResultAdapter(java.util.concurrent.Future<?> future)
Method Detail

get

public java.lang.Object get()
                     throws java.lang.InterruptedException,
                            ThreadExecutionException
Specified by:
get in interface IFutureResult
Throws:
java.lang.InterruptedException
ThreadExecutionException


Copyright © 2010. All Rights Reserved.