org.neo4j.kernel.ha
Class SlaveTxHook
java.lang.Object
org.neo4j.kernel.ha.SlaveTxHook
- All Implemented Interfaces:
- org.neo4j.kernel.impl.transaction.TxHook
public class SlaveTxHook
- extends Object
- implements org.neo4j.kernel.impl.transaction.TxHook
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlaveTxHook
public SlaveTxHook(Broker broker,
SlaveDatabaseOperations databaseOperations,
org.neo4j.kernel.GraphDatabaseAPI spi)
initializeTransaction
public void initializeTransaction(int eventIdentifier)
- Specified by:
initializeTransaction in interface org.neo4j.kernel.impl.transaction.TxHook
hasAnyLocks
public boolean hasAnyLocks(Transaction tx)
- Specified by:
hasAnyLocks in interface org.neo4j.kernel.impl.transaction.TxHook
finishTransaction
public void finishTransaction(int eventIdentifier,
boolean success)
- Specified by:
finishTransaction in interface org.neo4j.kernel.impl.transaction.TxHook
freeIdsDuringRollback
public boolean freeIdsDuringRollback()
- Specified by:
freeIdsDuringRollback in interface org.neo4j.kernel.impl.transaction.TxHook
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.