public static interface Capability.Transactions
| Modifier and Type | Method and Description |
|---|---|
Transaction |
beginTransaction()
Begin a new transaction.
|
<T> T |
doInTransaction(GraphCallback<T> graphCallback)
Applies the given
GraphCallback in the scope of this Session, giving fine-grained control over
behaviour. |
Transaction |
getTransaction()
Get the existing transaction if available
|
Transaction getTransaction()
Transaction beginTransaction()
<T> T doInTransaction(GraphCallback<T> graphCallback)
GraphCallback in the scope of this Session, giving fine-grained control over
behaviour.graphCallback - The GraphCallback to executeGraphCallbackNullPointerException - if invoked with nullCopyright © 2015 Neo Technology, Inc.. All rights reserved.