[
https://issues.apache.org/jira/browse/RATIS-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192514#comment-17192514
]
Rui Wang commented on RATIS-1057:
---------------------------------
[~elserj] [~szetszwo] does this JIRA make sense to you?
> NettyClientRpc supports async API
> ---------------------------------
>
> Key: RATIS-1057
> URL: https://issues.apache.org/jira/browse/RATIS-1057
> Project: Ratis
> Issue Type: Improvement
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
>
> Right now NettyClientRpc does not support
> {code:java}
> public interface RaftClientRpc extends Closeable {
> /** Async call to send a request. */
> default CompletableFuture<RaftClientReply>
> sendRequestAsync(RaftClientRequest request) {
> throw new UnsupportedOperationException(getClass() + " does not support
> this method.");
> }
> /** Async call to send a request. */
> default CompletableFuture<RaftClientReply>
> sendRequestAsyncUnordered(RaftClientRequest request) {
> throw new UnsupportedOperationException(getClass() + " does not support "
> + JavaUtils.getCurrentStackTraceElement().getMethodName());
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)