org.neo4j.kernel.ha.transaction
Class SlaveTxHook

java.lang.Object
  extended by org.neo4j.kernel.ha.transaction.SlaveTxHook
All Implemented Interfaces:
org.neo4j.kernel.impl.transaction.RemoteTxHook

public class SlaveTxHook
extends Object
implements org.neo4j.kernel.impl.transaction.RemoteTxHook


Constructor Summary
SlaveTxHook(Master master, HaXaDataSourceManager xaDsm, TxHookModeSwitcher.RequestContextFactoryResolver contextFactory)
           
 
Method Summary
 boolean freeIdsDuringRollback()
           
 void remotelyFinishTransaction(int eventIdentifier, boolean success)
           
 void remotelyInitializeTransaction(int eventIdentifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlaveTxHook

public SlaveTxHook(Master master,
                   HaXaDataSourceManager xaDsm,
                   TxHookModeSwitcher.RequestContextFactoryResolver contextFactory)
Method Detail

remotelyInitializeTransaction

public void remotelyInitializeTransaction(int eventIdentifier)
Specified by:
remotelyInitializeTransaction in interface org.neo4j.kernel.impl.transaction.RemoteTxHook

remotelyFinishTransaction

public void remotelyFinishTransaction(int eventIdentifier,
                                      boolean success)
Specified by:
remotelyFinishTransaction in interface org.neo4j.kernel.impl.transaction.RemoteTxHook

freeIdsDuringRollback

public boolean freeIdsDuringRollback()
Specified by:
freeIdsDuringRollback in interface org.neo4j.kernel.impl.transaction.RemoteTxHook


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