import io.atomix.storage.journal.index.JournalIndex;
import io.atomix.storage.journal.index.Position;
-import io.atomix.utils.serializer.Namespace;
-
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import java.util.NoSuchElementException;
private final ByteBuffer buffer;
private final int maxEntrySize;
private final JournalIndex index;
- private final Namespace namespace;
+ private final JournalSerdes namespace;
private final long firstIndex;
private Indexed<E> currentEntry;
private Indexed<E> nextEntry;
JournalSegment<E> segment,
int maxEntrySize,
JournalIndex index,
- Namespace namespace) {
+ JournalSerdes namespace) {
this.buffer = buffer.slice();
this.maxEntrySize = maxEntrySize;
this.index = index;