Package io.vertigo.stella.master
Interface WorkPromise<R>
-
- Type Parameters:
R
- the result
- All Superinterfaces:
Future<R>
public interface WorkPromise<R> extends Future<R>
This class is a java Promise. Java implements the concept of promise withCompletableFuture
which is far too complex. Only the interesting methods are kept.- Author:
- pchretien
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
join()
-
-
-
Method Detail
-
join
R join()
- Returns:
- Result without exception
- See Also:
CompletableFuture.join()
-
-