Package org.multiverse.stms.gamma
Interface GammaTxnRefFactory
-
- All Superinterfaces:
TxnRefFactory
- All Known Implementing Classes:
GammaStm.GammaTxnRefFactoryImpl
public interface GammaTxnRefFactory extends TxnRefFactory
ATxnRefFactorytailored for the GammaStm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GammaTxnBooleannewTxnBoolean(boolean value)Creates a committed TxnBoolean.GammaTxnDoublenewTxnDouble(double value)Creates a committed TxnDouble.GammaTxnIntegernewTxnInteger(int value)Creates a committed TxnInteger.GammaTxnLongnewTxnLong(long value)Creates a committed TxnLong.<E> GammaTxnRef<E>newTxnRef(E value)Creates a committed TxnRef.
-
-
-
Method Detail
-
newTxnRef
<E> GammaTxnRef<E> newTxnRef(E value)
Description copied from interface:TxnRefFactoryCreates a committed TxnRef.- Specified by:
newTxnRefin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnRef.
-
newTxnInteger
GammaTxnInteger newTxnInteger(int value)
Description copied from interface:TxnRefFactoryCreates a committed TxnInteger.- Specified by:
newTxnIntegerin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnInteger.
-
newTxnBoolean
GammaTxnBoolean newTxnBoolean(boolean value)
Description copied from interface:TxnRefFactoryCreates a committed TxnBoolean.- Specified by:
newTxnBooleanin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnBoolean.
-
newTxnDouble
GammaTxnDouble newTxnDouble(double value)
Description copied from interface:TxnRefFactoryCreates a committed TxnDouble.- Specified by:
newTxnDoublein interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnDouble.
-
newTxnLong
GammaTxnLong newTxnLong(long value)
Description copied from interface:TxnRefFactoryCreates a committed TxnLong.- Specified by:
newTxnLongin interfaceTxnRefFactory- Parameters:
value- the initial value.- Returns:
- the created TxnLong.
-
-