Fixed javadoc

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
This commit is contained in:
Tomas Langer
2020-07-02 12:02:57 +02:00
committed by Santiago Pericasgeertsen
parent ad0c19ecfb
commit 24e5c7d8aa
2 changed files with 4 additions and 3 deletions

View File

@@ -34,14 +34,14 @@ import io.helidon.common.reactive.Single;
* Async async = Async.create();
*
* // call a method with no parameters
* Single&lt;String> result = async.invoke(this::slowSync);
* Single&lt;String&gt; result = async.invoke(this::slowSync);
*
* // call a method with parameters
* async.invoke(() -> processRequest(request))
* async.invoke(() -&gt; processRequest(request))
* .thenApply(response::send);
*
* // use async to obtain a Multi (from a method returning List of strings)
* Multi&lt;String> stringMulti = async.invoke(this::syncList)
* Multi&lt;String&gt; stringMulti = async.invoke(this::syncList)
* .flatMap(Multi::create);
* </pre>
*/

View File

@@ -189,6 +189,7 @@ public final class FaultTolerance {
* Add a handler to the list. This may be a custom handler or one of the predefined ones.
*
* @param ft fault tolerance handler to add
* @return updated builder instance
*/
public abstract B add(FtHandler ft);
}