public static interface Capability.Transactions
| 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
|
Transaction getTransaction()
Transaction beginTransaction()
@Deprecated <T> T doInTransaction(GraphCallback<T> graphCallback)
GraphCallback in the scope of this Session, giving fine-grained control over
behaviour.T - The type of object returned from applying this callbackgraphCallback - The GraphCallback to executeGraphCallbackNullPointerException - if invoked with nullCopyright © 2016 Neo Technology, Inc.. All rights reserved.