public static class CoreSnapshot.Marshal extends SafeChannelMarshal<CoreSnapshot>
| Constructor and Description |
|---|
Marshal() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(CoreSnapshot coreSnapshot,
org.neo4j.storageengine.api.WritableChannel buffer)
Marshals the state into the channel.
|
CoreSnapshot |
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 void marshal(CoreSnapshot coreSnapshot, org.neo4j.storageengine.api.WritableChannel buffer) throws IOException
ChannelMarshalIOExceptionpublic CoreSnapshot 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.