DataJournalEntrySerdes is the proper name, use that.
JIRA: CONTROLLER-2089
Change-Id: I53247f7b226ed7ab0ff42ac24ad6f4d549e5db97
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* around a {@link PersistentRepr}, while {@link #read(EntryInput)} produces an {@link FromPersistence}, which
* needs further processing to reconstruct a {@link PersistentRepr}.
*/
-final class DataJournalEntrySerializer implements EntrySerdes<DataJournalEntry> {
+final class DataJournalEntrySerdes implements EntrySerdes<DataJournalEntry> {
private final ExtendedActorSystem actorSystem;
- DataJournalEntrySerializer(final ActorSystem actorSystem) {
+ DataJournalEntrySerdes(final ActorSystem actorSystem) {
this.actorSystem = requireNonNull((ExtendedActorSystem) actorSystem);
}
entries = SegmentedJournal.<DataJournalEntry>builder()
.withStorageLevel(storage).withDirectory(directory).withName("data")
.withNamespace(JournalSerdes.builder()
- .register(new DataJournalEntrySerializer(system), FromPersistence.class, ToPersistence.class)
+ .register(new DataJournalEntrySerdes(system), FromPersistence.class, ToPersistence.class)
.build())
.withMaxEntrySize(maxEntrySize).withMaxSegmentSize(maxSegmentSize)
.build();