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:TxnRefFactoryCreates a committed TxnRef.- Specified by:
newTxnRefin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnRef.
-
newTxnInteger
Description copied from interface:TxnRefFactoryCreates a committed TxnInteger.- Specified by:
newTxnIntegerin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnInteger.
-
newTxnBoolean
Description copied from interface:TxnRefFactoryCreates a committed TxnBoolean.- Specified by:
newTxnBooleanin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnBoolean.
-
newTxnDouble
Description copied from interface:TxnRefFactoryCreates a committed TxnDouble.- Specified by:
newTxnDoublein interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnDouble.
-
newTxnLong
Description copied from interface:TxnRefFactoryCreates a committed TxnLong.- Specified by:
newTxnLongin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnLong.
-