Interface GammaTxnFactory
-
- All Superinterfaces:
TxnFactory
public interface GammaTxnFactory extends TxnFactory
ATxnFactory
tailored for theGammaStm
.- Author:
- Peter Veentjer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GammaTxnConfig
getConfig()
Gets theTxnConfig
used by this TxnFactory.GammaTxn
newTransaction(GammaTxnPool pool)
GammaTxn
newTxn()
Creates a newTxn
.GammaTxn
upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)
-
Methods inherited from interface org.multiverse.api.TxnFactory
getTxnFactoryBuilder
-
-
-
-
Method Detail
-
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
GammaTxn newTransaction(GammaTxnPool pool)
-
upgradeAfterSpeculativeFailure
GammaTxn upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)
-
-