Package | Description |
---|---|
com.syncleus.ferma.tx |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTx<G extends FramedTxGraph>
An abstract class that can be used to implement vendor specific graph database Tx classes.
|
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Tx> |
Tx.threadLocalGraph
Thread local that is used to store references to the used graph.
|
Modifier and Type | Method and Description |
---|---|
Tx |
FramedTxGraph.createTx()
Create a new transaction.
|
Tx |
TxFactory.createTx()
Create a new transaction.
|
static Tx |
Tx.getActive()
Return the current active graph.
|
default Tx |
FramedTxGraph.tx()
Return an active transaction or create a new transaction if no active could be found.
|
default Tx |
TxFactory.tx()
Return a new autoclosable transaction handler.
|
Modifier and Type | Method and Description |
---|---|
T |
TxAction.handle(Tx tx) |
void |
TxAction2.handle(Tx tx) |
static void |
Tx.setActive(Tx tx)
Set the nested active transaction for the current thread.
|
Copyright © 2017 Syncleus. All rights reserved.