- protected List<ReplicatedLogEntry> snapshottedJournal;
- protected ByteString previousSnapshot;
- protected long previousSnapshotIndex = -1;
- protected long previousSnapshotTerm = -1;
+ private ArrayList<ReplicatedLogEntry> snapshottedJournal;
+ private long previousSnapshotIndex = -1;
+ private long previousSnapshotTerm = -1;
+ protected int dataSize = 0;