Class MetaStoreSerializer
java.lang.Object
io.atomix.raft.storage.serializer.MetaStoreSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongreadTerm()voidwriteCommitIndex(long index) final ByteBufferwriteConfiguration(Configuration configuration) voidwriteLastFlushedIndex(long index) voidwriteRecord(MetaStoreRecord record) voidwriteTerm(long term) voidwriteVotedFor(String memberId)
-
Constructor Details
-
MetaStoreSerializer
public MetaStoreSerializer()
-
-
Method Details
-
metaByteBuffer
-
writeConfiguration
-
readConfiguration
-
writeTerm
public void writeTerm(long term) -
readTerm
public long readTerm() -
writeVotedFor
-
readVotedFor
-
readLastFlushedIndex
public long readLastFlushedIndex() -
writeLastFlushedIndex
public void writeLastFlushedIndex(long index) -
writeCommitIndex
public void writeCommitIndex(long index) -
readRecord
-
writeRecord
-