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