Uses of Class
org.multiverse.stms.gamma.transactions.GammaTxn
-
-
Uses of GammaTxn in org.multiverse.stms.gamma
Methods in org.multiverse.stms.gamma that return GammaTxn Modifier and Type Method Description static GammaTxn
GammaStmUtils. asGammaTxn(Txn tx)
static GammaTxn
GammaStmUtils. getRequiredThreadLocalGammaTxn()
GammaTxn
GammaStm. newDefaultTxn()
-
Uses of GammaTxn in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type GammaTxn Modifier and Type Method Description void
BaseGammaTxnRef. acquire(GammaTxn tx, LockMode lockMode)
boolean
GammaTxnBoolean. alter(GammaTxn tx, BooleanFunction function, boolean returnOld)
double
GammaTxnDouble. alter(GammaTxn tx, DoubleFunction function, boolean returnOld)
boolean
GammaTxnBoolean. alterAndGet(GammaTxn tx, BooleanFunction function)
double
GammaTxnDouble. alterAndGet(GammaTxn tx, DoubleFunction function)
int
GammaTxnInteger. alterAndGet(GammaTxn tx, IntFunction function)
long
GammaTxnLong. alterAndGet(GammaTxn tx, LongFunction function)
E
GammaTxnRef. alterAndGet(GammaTxn tx, Function<E> function)
void
GammaTxnBoolean. await(GammaTxn tx, boolean value)
void
GammaTxnBoolean. await(GammaTxn tx, BooleanPredicate predicate)
void
GammaTxnDouble. await(GammaTxn tx, double value)
void
GammaTxnDouble. await(GammaTxn tx, DoublePredicate predicate)
void
GammaTxnInteger. await(GammaTxn tx, int value)
void
GammaTxnInteger. await(GammaTxn tx, IntPredicate predicate)
void
GammaTxnLong. await(GammaTxn tx, long value)
void
GammaTxnLong. await(GammaTxn tx, LongPredicate predicate)
void
GammaTxnRef. await(GammaTxn tx, E value)
void
GammaTxnRef. await(GammaTxn tx, Predicate<E> predicate)
E
GammaTxnRef. awaitNotNullAndGet(GammaTxn tx)
void
GammaTxnRef. awaitNull(GammaTxn tx)
void
GammaTxnBoolean. commute(GammaTxn tx, BooleanFunction function)
void
GammaTxnDouble. commute(GammaTxn tx, DoubleFunction function)
void
GammaTxnInteger. commute(GammaTxn tx, IntFunction function)
void
GammaTxnLong. commute(GammaTxn tx, LongFunction function)
void
GammaTxnRef. commute(GammaTxn tx, Function<E> function)
void
BaseGammaTxnRef. ensure(GammaTxn tx)
boolean
BaseGammaTxnRef. flattenCommute(GammaTxn tx, Tranlocal tranlocal, int lockMode)
boolean
GammaTxnBoolean. get(GammaTxn tx)
double
GammaTxnDouble. get(GammaTxn tx)
int
GammaTxnInteger. get(GammaTxn tx)
long
GammaTxnLong. get(GammaTxn tx)
E
GammaTxnRef. get(GammaTxn tx)
boolean
GammaTxnBoolean. getAndAlter(GammaTxn tx, BooleanFunction function)
double
GammaTxnDouble. getAndAlter(GammaTxn tx, DoubleFunction function)
int
GammaTxnInteger. getAndAlter(GammaTxn tx, IntFunction function)
long
GammaTxnLong. getAndAlter(GammaTxn tx, LongFunction function)
E
GammaTxnRef. getAndAlter(GammaTxn tx, Function<E> function)
double
GammaTxnDouble. getAndIncrement(GammaTxn tx, double amount)
int
GammaTxnInteger. getAndIncrement(GammaTxn tx, int amount)
long
GammaTxnLong. getAndIncrement(GammaTxn tx, long amount)
boolean
GammaTxnBoolean. getAndLock(GammaTxn tx, LockMode lockMode)
double
GammaTxnDouble. getAndLock(GammaTxn tx, LockMode lockMode)
int
GammaTxnInteger. getAndLock(GammaTxn tx, LockMode lockMode)
long
GammaTxnLong. getAndLock(GammaTxn tx, LockMode lockMode)
E
GammaTxnRef. getAndLock(GammaTxn tx, LockMode lockMode)
boolean
GammaTxnBoolean. getAndSet(GammaTxn tx, boolean value)
double
GammaTxnDouble. getAndSet(GammaTxn tx, double value)
int
GammaTxnInteger. getAndSet(GammaTxn tx, int value)
long
GammaTxnLong. getAndSet(GammaTxn tx, long value)
E
GammaTxnRef. getAndSet(GammaTxn tx, E value)
boolean
GammaTxnBoolean. getAndSetAndLock(GammaTxn tx, boolean value, LockMode lockMode)
double
GammaTxnDouble. getAndSetAndLock(GammaTxn tx, double value, LockMode lockMode)
E
GammaTxnRef. getAndSetAndLock(GammaTxn tx, E value, LockMode lockMode)
int
GammaTxnInteger. getAndSetLock(GammaTxn tx, int value, LockMode lockMode)
long
GammaTxnLong. getAndSetLock(GammaTxn tx, long value, LockMode lockMode)
LockMode
AbstractGammaObject. getLockMode(GammaTxn tx)
protected long
BaseGammaTxnRef. getLong(GammaTxn tx, LockMode lockMode)
protected Object
BaseGammaTxnRef. getObject(GammaTxn tx, LockMode lockMode)
void
GammaTxnInteger. increment(GammaTxn tx, int amount)
void
GammaTxnLong. increment(GammaTxn tx)
double
GammaTxnDouble. incrementAndGet(GammaTxn tx, double amount)
int
GammaTxnInteger. incrementAndGet(GammaTxn tx, int amount)
long
GammaTxnLong. incrementAndGet(GammaTxn tx, long amount)
boolean
GammaTxnRef. isNull(GammaTxn tx)
boolean
BaseGammaTxnRef. load(GammaTxn tx, Tranlocal tranlocal, int lockMode, int spinCount, boolean arriveNeeded)
void
BaseGammaTxnRef. openForCommute(GammaTxn tx, Function function)
Tranlocal
BaseGammaTxnRef. openForConstruction(GammaTxn tx)
Tranlocal
BaseGammaTxnRef. openForRead(GammaTxn tx, int lockMode)
Tranlocal
BaseGammaTxnRef. openForWrite(GammaTxn tx, int lockMode)
boolean
BaseGammaTxnRef. prepare(GammaTxn tx, Tranlocal tranlocal)
boolean
GammaTxnBoolean. set(GammaTxn tx, boolean value)
double
GammaTxnDouble. set(GammaTxn tx, double value)
int
GammaTxnInteger. set(GammaTxn tx, int value)
long
GammaTxnLong. set(GammaTxn tx, long value)
E
GammaTxnRef. set(GammaTxn tx, E value)
boolean
GammaTxnBoolean. setAndLock(GammaTxn tx, boolean value, LockMode lockMode)
double
GammaTxnDouble. setAndLock(GammaTxn tx, double value, LockMode lockMode)
int
GammaTxnInteger. setAndLock(GammaTxn tx, int value, LockMode lockMode)
long
GammaTxnLong. setAndLock(GammaTxn tx, long value, LockMode lockMode)
E
GammaTxnRef. setAndLock(GammaTxn tx, E value, LockMode lockMode)
protected long
BaseGammaTxnRef. setLong(GammaTxn tx, LockMode lockMode, long newValue, boolean returnOld)
protected Object
BaseGammaTxnRef. setObject(GammaTxn tx, LockMode lockMode, Object newValue, boolean returnOld)
String
GammaTxnBoolean. toString(GammaTxn tx)
String
GammaTxnDouble. toString(GammaTxn tx)
String
GammaTxnInteger. toString(GammaTxn tx)
String
GammaTxnLong. toString(GammaTxn tx)
String
GammaTxnRef. toString(GammaTxn tx)
boolean
BaseGammaTxnRef. tryLockAndCheckConflict(GammaTxn tx, Tranlocal tranlocal, int spinCount, int desiredLockMode)
Tries to acquire a lock on a previous read/written tranlocal and checks for conflict.Constructors in org.multiverse.stms.gamma.transactionalobjects with parameters of type GammaTxn Constructor Description GammaTxnBoolean(GammaTxn tx)
GammaTxnBoolean(GammaTxn tx, boolean value)
GammaTxnDouble(GammaTxn tx)
GammaTxnDouble(GammaTxn tx, double value)
GammaTxnInteger(GammaTxn tx)
GammaTxnInteger(GammaTxn tx, int value)
GammaTxnLong(GammaTxn tx)
GammaTxnLong(GammaTxn tx, long value)
GammaTxnRef(GammaTxn tx)
GammaTxnRef(GammaTxn tx, E value)
-
Uses of GammaTxn in org.multiverse.stms.gamma.transactions
Methods in org.multiverse.stms.gamma.transactions that return GammaTxn Modifier and Type Method Description GammaTxn
GammaTxnFactory. newTransaction(GammaTxnPool pool)
GammaTxn
GammaTxnFactory. newTxn()
GammaTxn
GammaTxnFactory. upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)
Methods in org.multiverse.stms.gamma.transactions with parameters of type GammaTxn Modifier and Type Method Description void
GammaTxn. copyForSpeculativeFailure(GammaTxn failingTx)
void
GammaTxnPool. put(GammaTxn tx)
Puts a GammaTxn in the pool.GammaTxn
GammaTxnFactory. upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)
-
Uses of GammaTxn in org.multiverse.stms.gamma.transactions.fat
Subclasses of GammaTxn in org.multiverse.stms.gamma.transactions.fat Modifier and Type Class Description class
FatFixedLengthGammaTxn
A FatGammaTxn
(supporting all features) but has a fixed capacity.class
FatMonoGammaTxn
class
FatVariableLengthGammaTxn
-
Uses of GammaTxn in org.multiverse.stms.gamma.transactions.lean
Subclasses of GammaTxn in org.multiverse.stms.gamma.transactions.lean Modifier and Type Class Description class
LeanFixedLengthGammaTxn
A Lean GammaTxn that is optimized for a fixed number of GammaTxnRefs.class
LeanMonoGammaTxn
A Lean GammaTxn implementation that is optimized for dealing with only a single transactional reference.
-