Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1057

NettyClientRpc supports async API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Right now NettyClientRpc does not support

      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());
        }
      }
      

      Attachments

        Activity

          People

            amaliujia Rui Wang
            amaliujia Rui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m