Package io.microraft.model.log
Interface SnapshotChunk.SnapshotChunkBuilder
-
- Enclosing interface:
- SnapshotChunk
public static interface SnapshotChunk.SnapshotChunkBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotChunk
build()
SnapshotChunk.SnapshotChunkBuilder
setGroupMembersView(RaftGroupMembersView groupMembersView)
SnapshotChunk.SnapshotChunkBuilder
setIndex(long index)
SnapshotChunk.SnapshotChunkBuilder
setOperation(Object operation)
SnapshotChunk.SnapshotChunkBuilder
setSnapshotChunkCount(int snapshotChunkCount)
SnapshotChunk.SnapshotChunkBuilder
setSnapshotChunkIndex(int snapshotChunkIndex)
SnapshotChunk.SnapshotChunkBuilder
setTerm(int term)
-
-
-
Method Detail
-
setIndex
@Nonnull SnapshotChunk.SnapshotChunkBuilder setIndex(long index)
-
setTerm
@Nonnull SnapshotChunk.SnapshotChunkBuilder setTerm(int term)
-
setOperation
@Nonnull SnapshotChunk.SnapshotChunkBuilder setOperation(@Nonnull Object operation)
-
setSnapshotChunkIndex
@Nonnull SnapshotChunk.SnapshotChunkBuilder setSnapshotChunkIndex(int snapshotChunkIndex)
-
setSnapshotChunkCount
@Nonnull SnapshotChunk.SnapshotChunkBuilder setSnapshotChunkCount(int snapshotChunkCount)
-
setGroupMembersView
@Nonnull SnapshotChunk.SnapshotChunkBuilder setGroupMembersView(@Nonnull RaftGroupMembersView groupMembersView)
-
build
@Nonnull SnapshotChunk build()
-
-