Interface GammaTxnFactory
-
- All Superinterfaces:
TxnFactory
public interface GammaTxnFactory extends TxnFactory
ATxnFactorytailored for theGammaStm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GammaTxnConfiggetConfig()Gets theTxnConfigused by this TxnFactory.GammaTxnnewTransaction(GammaTxnPool pool)GammaTxnnewTxn()Creates a newTxn.GammaTxnupgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)-
Methods inherited from interface org.multiverse.api.TxnFactory
getTxnFactoryBuilder
-
-
-
-
Method Detail
-
getConfig
GammaTxnConfig getConfig()
Description copied from interface:TxnFactoryGets theTxnConfigused by this TxnFactory.- Specified by:
getConfigin interfaceTxnFactory- Returns:
- the TxnConfig.
-
newTxn
GammaTxn newTxn()
Description copied from interface:TxnFactoryCreates a newTxn.- Specified by:
newTxnin interfaceTxnFactory- Returns:
- the created Txn.
-
newTransaction
GammaTxn newTransaction(GammaTxnPool pool)
-
upgradeAfterSpeculativeFailure
GammaTxn upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)
-
-