public class TransactionsDelegate extends Object implements Capability.Transactions
| Constructor and Description |
|---|
TransactionsDelegate(Neo4jSession neo4jSession) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
beginTransaction()
Begin a new transaction.
|
<T> T |
doInTransaction(GraphCallback<T> graphCallback)
Deprecated.
|
Transaction |
getTransaction()
Get the existing transaction if available
|
public TransactionsDelegate(Neo4jSession neo4jSession)
public Transaction beginTransaction()
Capability.TransactionsbeginTransaction in interface Capability.Transactions@Deprecated public <T> T doInTransaction(GraphCallback<T> graphCallback)
Capability.TransactionsGraphCallback in the scope of this Session, giving fine-grained control over
behaviour.doInTransaction in interface Capability.TransactionsT - The type of object returned from applying this callbackgraphCallback - The GraphCallback to executeGraphCallbackpublic Transaction getTransaction()
Capability.TransactionsgetTransaction in interface Capability.TransactionsCopyright © 2016 Neo Technology, Inc.. All rights reserved.