org.neo4j.kernel.impl.transaction.xaframework
Class XaTransactionFactory
java.lang.Object
org.neo4j.kernel.impl.transaction.xaframework.XaTransactionFactory
public abstract class XaTransactionFactory
- extends Object
Factory for creating XaTransactions used during
recovery.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XaTransactionFactory
public XaTransactionFactory()
create
public abstract XaTransaction create(int identifier)
- Create a
XaTransaction with identifier as internal
transaction id.
- Parameters:
identifier - The identifier of the transaction
- Returns:
- A new xa transaction
flushAll
public abstract void flushAll()
getLogicalLog
protected XaLogicalLog getLogicalLog()
recoveryComplete
public void recoveryComplete()
- This method will be called when all recovered transactions have been
resolved to a safe state (rolledback or committed). This implementation
does nothing so override if you need to do something when recovery is
complete.
getCurrentVersion
public abstract long getCurrentVersion()
getAndSetNewVersion
public abstract long getAndSetNewVersion()
getLastCommittedTx
public abstract long getLastCommittedTx()
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.