Package io.microraft.model.log
Interface SnapshotEntry.SnapshotEntryBuilder
-
- Enclosing interface:
- SnapshotEntry
public static interface SnapshotEntry.SnapshotEntryBuilderThe builder interface forSnapshotEntry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotEntrybuild()SnapshotEntry.SnapshotEntryBuildersetGroupMembersView(RaftGroupMembersView groupMembersView)SnapshotEntry.SnapshotEntryBuildersetIndex(long index)SnapshotEntry.SnapshotEntryBuildersetSnapshotChunks(List<SnapshotChunk> snapshotChunks)SnapshotEntry.SnapshotEntryBuildersetTerm(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()
-
-