public static class ReplicatedLockTokenState.Marshal extends SafeStateMarshal<ReplicatedLockTokenState>
| Constructor and Description |
|---|
Marshal(ChannelMarshal<MemberId> memberMarshal) |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(ReplicatedLockTokenState state,
org.neo4j.storageengine.api.WritableChannel channel)
Marshals the state into the channel.
|
long |
ordinal(ReplicatedLockTokenState state) |
ReplicatedLockTokenState |
startState() |
ReplicatedLockTokenState |
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 Marshal(ChannelMarshal<MemberId> memberMarshal)
public void marshal(ReplicatedLockTokenState state, org.neo4j.storageengine.api.WritableChannel channel) throws IOException
ChannelMarshalIOExceptionpublic ReplicatedLockTokenState unmarshal0(org.neo4j.storageengine.api.ReadableChannel channel) throws IOException, EndOfStreamException
SafeChannelMarshalReadPastEndException and can safely throw
the checked EndOfStreamException.channel - The channel to read from.IOExceptionEndOfStreamExceptionpublic ReplicatedLockTokenState startState()
public long ordinal(ReplicatedLockTokenState state)
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.