public class PlaceboTransaction extends TopLevelTransaction
Modifier and Type | Field and Description |
---|---|
static Lock |
NO_LOCK |
transactionOutcome
Constructor and Description |
---|
PlaceboTransaction(org.neo4j.kernel.impl.transaction.AbstractTransactionManager transactionManager,
org.neo4j.kernel.impl.core.TransactionState state) |
Modifier and Type | Method and Description |
---|---|
void |
finish()
Commits or marks this transaction for rollback, depending on whether
Transaction.success() or Transaction.failure() has been previously invoked. |
acquireReadLock, acquireWriteLock, failure, isMarkedAsSuccessful, markAsRollbackOnly, success
public static final Lock NO_LOCK
public PlaceboTransaction(org.neo4j.kernel.impl.transaction.AbstractTransactionManager transactionManager, org.neo4j.kernel.impl.core.TransactionState state)
public void finish()
Transaction
Transaction.success()
or Transaction.failure()
has been previously invoked.
All ResourceIterables
that where returned from operations executed inside this
transaction will be automatically closed by this method.finish
in interface Transaction
finish
in class TopLevelTransaction
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.