public interface StorageCommand
StorageEngine
. Commands are created by
StorageEngine.createCommands(Collection, ReadableTransactionState, StorageStatement, ResourceLocker, long)
and once created can be serialized onto a WritableChannel
and/or passed back to
StorageEngine.apply(CommandsToApply, TransactionApplicationMode)
for application where the
changes represented by the command are actually applied onto storage.Modifier and Type | Method and Description |
---|---|
void |
serialize(WritableChannel channel)
Serializes change this command represents into a
WritableChannel for later reading back. |
void serialize(WritableChannel channel) throws IOException
WritableChannel
for later reading back.
First byte of command must be type of command.channel
- WritableChannel
to serialize into.IOException
- I/O error from channel.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.