Clean up Segmented(ByteBuf)Journal 67/111667/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 8 May 2024 21:48:14 +0000 (23:48 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 9 May 2024 00:20:03 +0000 (00:20 +0000)
commitc3abf2298636dfc31f6d19eb4e3070fd57ecbae3
tree0826f5888756c055058ffcbb0ef2ae54fca8cce9
parent8735cee7759f0ed21f73806673674e4c81a25719
Clean up Segmented(ByteBuf)Journal

Remove SegmentedJournal.Builder(), as it really has no point. Also
expose the compact() method and restore maxEntriesPerSegment.

JIRA: CONTROLLER-2115
Change-Id: I7213cdca037d45ad9f15f2e577bd8cb1e6b75156
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
atomix-storage/src/main/java/io/atomix/storage/journal/ByteBufJournal.java
atomix-storage/src/main/java/io/atomix/storage/journal/Journal.java
atomix-storage/src/main/java/io/atomix/storage/journal/SegmentedByteBufJournal.java
atomix-storage/src/main/java/io/atomix/storage/journal/SegmentedCommitsByteBufReader.java
atomix-storage/src/main/java/io/atomix/storage/journal/SegmentedJournal.java
atomix-storage/src/test/java/io/atomix/storage/journal/AbstractJournalTest.java
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/DataJournalV0.java
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/SegmentedJournalActor.java