public class EntryRecord extends Object
| Constructor and Description |
|---|
EntryRecord(long logIndex,
RaftLogEntry logEntry) |
| Modifier and Type | Method and Description |
|---|---|
RaftLogEntry |
logEntry() |
long |
logIndex() |
static EntryRecord |
read(org.neo4j.storageengine.api.ReadableChannel channel,
ChannelMarshal<ReplicatedContent> contentMarshal) |
String |
toString() |
static void |
write(org.neo4j.storageengine.api.WritableChannel channel,
ChannelMarshal<ReplicatedContent> contentMarshal,
long logIndex,
long term,
ReplicatedContent content) |
public EntryRecord(long logIndex,
RaftLogEntry logEntry)
public RaftLogEntry logEntry()
public long logIndex()
public static EntryRecord read(org.neo4j.storageengine.api.ReadableChannel channel, ChannelMarshal<ReplicatedContent> contentMarshal) throws IOException, EndOfStreamException
IOExceptionEndOfStreamExceptionpublic static void write(org.neo4j.storageengine.api.WritableChannel channel,
ChannelMarshal<ReplicatedContent> contentMarshal,
long logIndex,
long term,
ReplicatedContent content)
throws IOException
IOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.