Package io.vertigo.stella.master
Interface WorkPromise<R>
- Type Parameters:
R- the result
- All Superinterfaces:
Future<R>
This class is a java Promise.
Java implements the concept of promise with
CompletableFuture which is far too complex.
Only the interesting methods are kept.- Author:
- pchretien
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Method Summary
Methods inherited from interface java.util.concurrent.Future
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, state
-
Method Details
-
join
R join()- Returns:
- Result without exception
- See Also:
-