You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2020/11/04 15:36:00 UTC

[jira] [Created] (RATIS-1129) Move out the RPC related APIs from DataStreamOutput

Tsz-wo Sze created RATIS-1129:
---------------------------------

             Summary: Move out the RPC related APIs from DataStreamOutput
                 Key: RATIS-1129
                 URL: https://issues.apache.org/jira/browse/RATIS-1129
             Project: Ratis
          Issue Type: Sub-task
          Components: client, Streaming
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


DataStreamOutput is a public user API.  The rpc related APIs shown below should be moved out.
{code}
//DataStreamOutput.java
  /** Get the future of the header request. */
  CompletableFuture<DataStreamReply> getHeaderFuture();

  /** Peer close asynchronously. */
  CompletableFuture<DataStreamReply> closeForwardAsync();

  /** Create a transaction asynchronously once the stream data is replicated to all servers */
  CompletableFuture<DataStreamReply> startTransactionAsync();
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)