org.neo4j.kernel.ha
Class MasterTxHook

java.lang.Object
  extended by org.neo4j.kernel.ha.MasterTxHook
All Implemented Interfaces:
TxHook

public class MasterTxHook
extends Object
implements TxHook


Constructor Summary
MasterTxHook()
           
 
Method Summary
 void finishTransaction(int eventIdentifier, boolean success)
           
 boolean freeIdsDuringRollback()
           
 boolean hasAnyLocks(Transaction tx)
           
 void initializeTransaction(int eventIdentifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterTxHook

public MasterTxHook()
Method Detail

initializeTransaction

public void initializeTransaction(int eventIdentifier)
Specified by:
initializeTransaction in interface TxHook

hasAnyLocks

public boolean hasAnyLocks(Transaction tx)
Specified by:
hasAnyLocks in interface TxHook

finishTransaction

public void finishTransaction(int eventIdentifier,
                              boolean success)
Specified by:
finishTransaction in interface TxHook

freeIdsDuringRollback

public boolean freeIdsDuringRollback()
Specified by:
freeIdsDuringRollback in interface TxHook


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