org.neo4j.kernel.impl.transaction.xaframework
Class XaResourceManager

java.lang.Object
  extended by org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager

public class XaResourceManager
extends Object


Method Summary
 void applyCommittedTransaction(ReadableByteChannel transaction, long txId)
           
 long applyPreparedTransaction(ReadableByteChannel transaction)
           
 boolean hasRecoveredTransactions()
          Returns true if recovered transactions exist.
 long rotateLogicalLog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasRecoveredTransactions

public boolean hasRecoveredTransactions()
Returns true if recovered transactions exist. This method is useful to invoke after the logical log has been opened to detirmine if there are any recovered transactions waiting for the TM to tell them what to do.

Returns:
True if recovered transactions exist

applyCommittedTransaction

public void applyCommittedTransaction(ReadableByteChannel transaction,
                                      long txId)
                               throws IOException
Throws:
IOException

applyPreparedTransaction

public long applyPreparedTransaction(ReadableByteChannel transaction)
                              throws IOException
Throws:
IOException

rotateLogicalLog

public long rotateLogicalLog()
                      throws IOException
Throws:
IOException


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