Package io.microraft.model.log
Interface SnapshotEntry.SnapshotEntryBuilder
-
- Enclosing interface:
- SnapshotEntry
public static interface SnapshotEntry.SnapshotEntryBuilder
The builder interface forSnapshotEntry
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotEntry
build()
SnapshotEntry.SnapshotEntryBuilder
setGroupMembersView(RaftGroupMembersView groupMembersView)
SnapshotEntry.SnapshotEntryBuilder
setIndex(long index)
SnapshotEntry.SnapshotEntryBuilder
setSnapshotChunks(List<SnapshotChunk> snapshotChunks)
SnapshotEntry.SnapshotEntryBuilder
setTerm(int term)
-
-
-
Method Detail
-
setIndex
@Nonnull SnapshotEntry.SnapshotEntryBuilder setIndex(long index)
-
setTerm
@Nonnull SnapshotEntry.SnapshotEntryBuilder setTerm(int term)
-
setSnapshotChunks
@Nonnull SnapshotEntry.SnapshotEntryBuilder setSnapshotChunks(@Nonnull List<SnapshotChunk> snapshotChunks)
-
setGroupMembersView
@Nonnull SnapshotEntry.SnapshotEntryBuilder setGroupMembersView(@Nonnull RaftGroupMembersView groupMembersView)
-
build
@Nonnull SnapshotEntry build()
-
-