szetszwo commented on PR #1007:
URL: https://github.com/apache/ratis/pull/1007#issuecomment-1886433448

   For backward compatibility, we will provide two APIs.  For examples, there 
are two `StateMachine.DataChannel.write(..)` methods:
   ```java
   //StateMachine.DataChannel
       default int write(ByteBuffer buffer) throws IOException {...}
   
       default int write(ReferenceCountedObject<ByteBuffer> 
referenceCountedBuffer) throws IOException {...}
   ```
   An implementation can choose to override either one of them.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to