Package io.atomix.primitive.log
Class LogRecord
java.lang.Object
io.atomix.primitive.log.LogRecord
public class LogRecord extends Object
Distributed log protocol record.
A log record represents an entry in a distributed log. The record includes an index() and a
timestamp() at which the entry was committed to the log in addition to the value()
of the entry.
-
Constructor Summary
Constructors Constructor Description LogRecord(long index, long timestamp, byte[] value) -
Method Summary
-
Constructor Details
-
LogRecord
public LogRecord(long index, long timestamp, byte[] value)
-
-
Method Details