Package org.multiverse.stms.gamma
Interface GammaTxnRefFactory
- All Superinterfaces:
TxnRefFactory
- All Known Implementing Classes:
GammaStm.GammaTxnRefFactoryImpl
A
TxnRefFactory
tailored for the GammaStm.-
Method Summary
Modifier and TypeMethodDescriptionnewTxnBoolean
(boolean value) Creates a committed TxnBoolean.newTxnDouble
(double value) Creates a committed TxnDouble.newTxnInteger
(int value) Creates a committed TxnInteger.newTxnLong
(long value) Creates a committed TxnLong.<E> GammaTxnRef
<E> newTxnRef
(E value) Creates a committed TxnRef.
-
Method Details
-
newTxnRef
Description copied from interface:TxnRefFactory
Creates a committed TxnRef.- Specified by:
newTxnRef
in interfaceTxnRefFactory
- Parameters:
value
- the initial value.- Returns:
- the created TxnRef.
-
newTxnInteger
Description copied from interface:TxnRefFactory
Creates a committed TxnInteger.- Specified by:
newTxnInteger
in interfaceTxnRefFactory
- Parameters:
value
- the initial value.- Returns:
- the created TxnInteger.
-
newTxnBoolean
Description copied from interface:TxnRefFactory
Creates a committed TxnBoolean.- Specified by:
newTxnBoolean
in interfaceTxnRefFactory
- Parameters:
value
- the initial value.- Returns:
- the created TxnBoolean.
-
newTxnDouble
Description copied from interface:TxnRefFactory
Creates a committed TxnDouble.- Specified by:
newTxnDouble
in interfaceTxnRefFactory
- Parameters:
value
- the initial value.- Returns:
- the created TxnDouble.
-
newTxnLong
Description copied from interface:TxnRefFactory
Creates a committed TxnLong.- Specified by:
newTxnLong
in interfaceTxnRefFactory
- Parameters:
value
- the initial value.- Returns:
- the created TxnLong.
-