Futher improvements to ByteBuffer invocations 60/110760/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 15 Mar 2024 11:13:18 +0000 (12:13 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 15 Mar 2024 14:08:50 +0000 (15:08 +0100)
commitaf393be987207b3027e678d706a0824794350ee5
tree997abc5ab97822efe4665743660c949be926cb50
parent7ca88d8665eb525ddbfb3ac1e493127f8126fd27
Futher improvements to ByteBuffer invocations

MappedJournalSegmentWriter should take advantage of fluent APIs of
ByteBuffer.

JIRA: CONTROLLER-2097
Change-Id: If12fe247bd08db450e00ea9878ecfafb7f75596b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 2512ece32bd3452bf873176168711d1d270b2966)
atomix-storage/src/main/java/io/atomix/storage/journal/MappedJournalSegmentWriter.java