public static class ClusterId.Marshal extends SafeChannelMarshal<ClusterId>
| Modifier and Type | Field and Description |
|---|---|
static ClusterId.Marshal |
INSTANCE |
| Constructor and Description |
|---|
Marshal() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(ClusterId clusterId,
org.neo4j.storageengine.api.WritableChannel channel)
Marshals the state into the channel.
|
ClusterId |
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. |
unmarshalpublic static ClusterId.Marshal INSTANCE
public void marshal(ClusterId clusterId, org.neo4j.storageengine.api.WritableChannel channel) throws IOException
ChannelMarshalIOExceptionpublic ClusterId unmarshal0(org.neo4j.storageengine.api.ReadableChannel channel) throws IOException
SafeChannelMarshalReadPastEndException and can safely throw
the checked EndOfStreamException.channel - The channel to read from.IOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.