Class AsyncCaller
java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.util.AsyncCaller
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AsyncCaller
public AsyncCaller()
-
-
Method Details
-
run
Run a runnable asynchronously- Parameters:
runnable
- task to execute- Returns:
- a completed future set to null
-
submit
Run a callable asynchronously- Type Parameters:
T
- the type returned bycallable
- Parameters:
callable
- the callable to run- Returns:
- a future which can be used to get the result of running
callable
-