[ 
https://issues.apache.org/jira/browse/RATIS-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze reassigned RATIS-2724:
---------------------------------

    Assignee: Rui Wang  (was: Tsz-wo Sze)

> Support non-ByteString Message
> ------------------------------
>
>                 Key: RATIS-2724
>                 URL: https://issues.apache.org/jira/browse/RATIS-2724
>             Project: Ratis
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Tsz-wo Sze
>            Assignee: Rui Wang
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code}
> //Message.java
>   ByteString getContent();
> {code}
> The Message interface has only the above method to get the data.  So, it 
> forces the implementations to serialize the data into a ByteString.
> In this JIRA, we add an optional support to ByteBuffer.  When the 
> implementation supports ByteBuffer, the Ratis code should never invoke the 
> getContent() method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to