public class SlaveTxHook extends Object implements org.neo4j.kernel.impl.transaction.TxHook
| Constructor and Description |
|---|
SlaveTxHook(Master master,
HaXaDataSourceManager xaDsm,
TxHookModeSwitcher.RequestContextFactoryResolver contextFactory,
org.neo4j.kernel.impl.transaction.AbstractTransactionManager txManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishTransaction(int eventIdentifier,
boolean success) |
boolean |
freeIdsDuringRollback() |
boolean |
hasAnyLocks(Transaction tx) |
void |
initializeTransaction(int eventIdentifier) |
public SlaveTxHook(Master master, HaXaDataSourceManager xaDsm, TxHookModeSwitcher.RequestContextFactoryResolver contextFactory, org.neo4j.kernel.impl.transaction.AbstractTransactionManager txManager)
public void initializeTransaction(int eventIdentifier)
initializeTransaction in interface org.neo4j.kernel.impl.transaction.TxHookpublic boolean hasAnyLocks(Transaction tx)
hasAnyLocks in interface org.neo4j.kernel.impl.transaction.TxHookpublic void finishTransaction(int eventIdentifier,
boolean success)
finishTransaction in interface org.neo4j.kernel.impl.transaction.TxHookpublic boolean freeIdsDuringRollback()
freeIdsDuringRollback in interface org.neo4j.kernel.impl.transaction.TxHookCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.