2387 |
|
// jdk9 additions |
2388 |
|
|
2389 |
|
/** |
2390 |
< |
* Creates a new incomplete CompletableFuture of the type to be |
2390 |
> |
* Returns a new incomplete CompletableFuture of the type to be |
2391 |
|
* returned by a CompletionStage method. Subclasses should |
2392 |
|
* normally override this method to return an instance of the same |
2393 |
|
* class as this CompletableFuture. The default implementation |
2506 |
|
* otherwise completed before the given timeout. |
2507 |
|
* |
2508 |
|
* @param value the value to use upon timeout |
2509 |
< |
* @param timeout how long to wait before completing. |
2509 |
> |
* @param timeout how long to wait before completing normally |
2510 |
> |
* with the given value, in units of {@code unit} |
2511 |
|
* @param unit a {@code TimeUnit} determining how to interpret the |
2512 |
|
* {@code timeout} parameter |
2513 |
|
* @return this CompletableFuture |