public interface TransactionWorker
| Modifier and Type | Method and Description |
|---|---|
void |
commit(Graph graph)
Notify this worker that a transaction on a specified graph is being committed, and give the worker
an opportunity to rollback the transaction.
|
void commit(Graph graph)
Transaction.rollback() method on the supplied graph.
A worker may inject transaction side-effects by adding new statements to the graph. If any worker adds side-effects, then another round of commit notifications will commence. The worker may inspect the statements added since the last round by calling graph.tx().asList().
graph - The graph whose transaction has ended.Copyright © 2019. All rights reserved.