Interface GammaTxnFactory
- All Superinterfaces:
TxnFactory
- All Known Implementing Classes:
GammaStm.NonSpeculativeGammaTxnFactory
,GammaStm.SpeculativeGammaTxnFactory
A
TxnFactory
tailored for the GammaStm
.-
Method Summary
Modifier and TypeMethodDescriptionGets theTxnConfig
used by this TxnFactory.newTransaction
(GammaTxnPool pool) newTxn()
Creates a newTxn
.Methods inherited from interface org.multiverse.api.TxnFactory
getTxnFactoryBuilder
-
Method Details
-
getConfig
GammaTxnConfig getConfig()Description copied from interface:TxnFactory
Gets theTxnConfig
used by this TxnFactory.- Specified by:
getConfig
in interfaceTxnFactory
- Returns:
- the TxnConfig.
-
newTxn
GammaTxn newTxn()Description copied from interface:TxnFactory
Creates a newTxn
.- Specified by:
newTxn
in interfaceTxnFactory
- Returns:
- the created Txn.
-
newTransaction
-
upgradeAfterSpeculativeFailure
-