Description
RATIS-1939 refactored ZeroCopyMessageMarshaller, replacing popStream(T) with release(T). For compatibility with 3.0.0, I would like to add back popStream:
/** * Application needs to call this function to get the stream for the message and * call stream.close() function to return it to the pool. */ public InputStream popStream(T message) { return unclosedStreams.remove(message); }
Attachments
Issue Links
- links to