org.neo4j.kernel.impl.nioneo.xa
Class Command

java.lang.Object
  extended by org.neo4j.kernel.impl.transaction.xaframework.XaCommand
      extended by org.neo4j.kernel.impl.nioneo.xa.Command

public abstract class Command
extends XaCommand

Command implementations for all the commands that can be performed on a Neo store.


Method Summary
abstract  void accept(CommandRecordVisitor visitor)
           
 int hashCode()
           
static Command readCommand(NeoStore neoStore, ReadableByteChannel byteChannel, ByteBuffer buffer)
           
protected  void setRecovered()
          If this command is created by the command factory during a recovery scan of the logical log this method will be called to mark the command as a "recovered command".
 
Methods inherited from class org.neo4j.kernel.impl.transaction.xaframework.XaCommand
execute, isRecovered, rollback, writeToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

accept

public abstract void accept(CommandRecordVisitor visitor)

setRecovered

protected void setRecovered()
Description copied from class: XaCommand
If this command is created by the command factory during a recovery scan of the logical log this method will be called to mark the command as a "recovered command".

Overrides:
setRecovered in class XaCommand

hashCode

public int hashCode()
Overrides:
hashCode in class Object

readCommand

public static Command readCommand(NeoStore neoStore,
                                  ReadableByteChannel byteChannel,
                                  ByteBuffer buffer)
                           throws IOException
Throws:
IOException


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.