Package org.testng.internal.thread
Class FutureResultAdapter
- java.lang.Object
-
- org.testng.internal.thread.FutureResultAdapter
-
- All Implemented Interfaces:
IFutureResult
public class FutureResultAdapter extends java.lang.Object implements IFutureResult
A very reduced interface ofFuture.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.concurrent.Future<?>m_future
-
Constructor Summary
Constructors Constructor Description FutureResultAdapter(java.util.concurrent.Future<?> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget()
-
-
-
Method Detail
-
get
public java.lang.Object get() throws java.lang.InterruptedException, ThreadExecutionException- Specified by:
getin interfaceIFutureResult- Throws:
java.lang.InterruptedExceptionThreadExecutionException
-
-