public static class RaftMembershipState.Marshal extends SafeStateMarshal<RaftMembershipState>
| Constructor and Description |
|---|
Marshal() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(RaftMembershipState state,
org.neo4j.storageengine.api.WritableChannel channel)
Marshals the state into the channel.
|
long |
ordinal(RaftMembershipState state) |
RaftMembershipState |
startState() |
RaftMembershipState |
unmarshal0(org.neo4j.storageengine.api.ReadableChannel channel)
The specific implementation of unmarshal which does not have to deal
with the IOException
ReadPastEndException and can safely throw
the checked EndOfStreamException. |
unmarshalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunmarshalpublic RaftMembershipState startState()
public long ordinal(RaftMembershipState state)
public void marshal(RaftMembershipState state, org.neo4j.storageengine.api.WritableChannel channel) throws IOException
ChannelMarshalIOExceptionpublic RaftMembershipState unmarshal0(org.neo4j.storageengine.api.ReadableChannel channel) throws IOException, EndOfStreamException
SafeChannelMarshalReadPastEndException and can safely throw
the checked EndOfStreamException.channel - The channel to read from.IOExceptionEndOfStreamExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.