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 GammaTxnGammaStmUtils. asGammaTxn(Txn tx)static GammaTxnGammaStmUtils. getRequiredThreadLocalGammaTxn()GammaTxnGammaStm. 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 voidBaseGammaTxnRef. acquire(GammaTxn tx, LockMode lockMode)booleanGammaTxnBoolean. alter(GammaTxn tx, BooleanFunction function, boolean returnOld)doubleGammaTxnDouble. alter(GammaTxn tx, DoubleFunction function, boolean returnOld)booleanGammaTxnBoolean. alterAndGet(GammaTxn tx, BooleanFunction function)doubleGammaTxnDouble. alterAndGet(GammaTxn tx, DoubleFunction function)intGammaTxnInteger. alterAndGet(GammaTxn tx, IntFunction function)longGammaTxnLong. alterAndGet(GammaTxn tx, LongFunction function)EGammaTxnRef. alterAndGet(GammaTxn tx, Function<E> function)voidGammaTxnBoolean. await(GammaTxn tx, boolean value)voidGammaTxnBoolean. await(GammaTxn tx, BooleanPredicate predicate)voidGammaTxnDouble. await(GammaTxn tx, double value)voidGammaTxnDouble. await(GammaTxn tx, DoublePredicate predicate)voidGammaTxnInteger. await(GammaTxn tx, int value)voidGammaTxnInteger. await(GammaTxn tx, IntPredicate predicate)voidGammaTxnLong. await(GammaTxn tx, long value)voidGammaTxnLong. await(GammaTxn tx, LongPredicate predicate)voidGammaTxnRef. await(GammaTxn tx, E value)voidGammaTxnRef. await(GammaTxn tx, Predicate<E> predicate)EGammaTxnRef. awaitNotNullAndGet(GammaTxn tx)voidGammaTxnRef. awaitNull(GammaTxn tx)voidGammaTxnBoolean. commute(GammaTxn tx, BooleanFunction function)voidGammaTxnDouble. commute(GammaTxn tx, DoubleFunction function)voidGammaTxnInteger. commute(GammaTxn tx, IntFunction function)voidGammaTxnLong. commute(GammaTxn tx, LongFunction function)voidGammaTxnRef. commute(GammaTxn tx, Function<E> function)voidBaseGammaTxnRef. ensure(GammaTxn tx)booleanBaseGammaTxnRef. flattenCommute(GammaTxn tx, Tranlocal tranlocal, int lockMode)booleanGammaTxnBoolean. get(GammaTxn tx)doubleGammaTxnDouble. get(GammaTxn tx)intGammaTxnInteger. get(GammaTxn tx)longGammaTxnLong. get(GammaTxn tx)EGammaTxnRef. get(GammaTxn tx)booleanGammaTxnBoolean. getAndAlter(GammaTxn tx, BooleanFunction function)doubleGammaTxnDouble. getAndAlter(GammaTxn tx, DoubleFunction function)intGammaTxnInteger. getAndAlter(GammaTxn tx, IntFunction function)longGammaTxnLong. getAndAlter(GammaTxn tx, LongFunction function)EGammaTxnRef. getAndAlter(GammaTxn tx, Function<E> function)doubleGammaTxnDouble. getAndIncrement(GammaTxn tx, double amount)intGammaTxnInteger. getAndIncrement(GammaTxn tx, int amount)longGammaTxnLong. getAndIncrement(GammaTxn tx, long amount)booleanGammaTxnBoolean. getAndLock(GammaTxn tx, LockMode lockMode)doubleGammaTxnDouble. getAndLock(GammaTxn tx, LockMode lockMode)intGammaTxnInteger. getAndLock(GammaTxn tx, LockMode lockMode)longGammaTxnLong. getAndLock(GammaTxn tx, LockMode lockMode)EGammaTxnRef. getAndLock(GammaTxn tx, LockMode lockMode)booleanGammaTxnBoolean. getAndSet(GammaTxn tx, boolean value)doubleGammaTxnDouble. getAndSet(GammaTxn tx, double value)intGammaTxnInteger. getAndSet(GammaTxn tx, int value)longGammaTxnLong. getAndSet(GammaTxn tx, long value)EGammaTxnRef. getAndSet(GammaTxn tx, E value)booleanGammaTxnBoolean. getAndSetAndLock(GammaTxn tx, boolean value, LockMode lockMode)doubleGammaTxnDouble. getAndSetAndLock(GammaTxn tx, double value, LockMode lockMode)EGammaTxnRef. getAndSetAndLock(GammaTxn tx, E value, LockMode lockMode)intGammaTxnInteger. getAndSetLock(GammaTxn tx, int value, LockMode lockMode)longGammaTxnLong. getAndSetLock(GammaTxn tx, long value, LockMode lockMode)LockModeAbstractGammaObject. getLockMode(GammaTxn tx)protected longBaseGammaTxnRef. getLong(GammaTxn tx, LockMode lockMode)protected ObjectBaseGammaTxnRef. getObject(GammaTxn tx, LockMode lockMode)voidGammaTxnInteger. increment(GammaTxn tx, int amount)voidGammaTxnLong. increment(GammaTxn tx)doubleGammaTxnDouble. incrementAndGet(GammaTxn tx, double amount)intGammaTxnInteger. incrementAndGet(GammaTxn tx, int amount)longGammaTxnLong. incrementAndGet(GammaTxn tx, long amount)booleanGammaTxnRef. isNull(GammaTxn tx)booleanBaseGammaTxnRef. load(GammaTxn tx, Tranlocal tranlocal, int lockMode, int spinCount, boolean arriveNeeded)voidBaseGammaTxnRef. openForCommute(GammaTxn tx, Function function)TranlocalBaseGammaTxnRef. openForConstruction(GammaTxn tx)TranlocalBaseGammaTxnRef. openForRead(GammaTxn tx, int lockMode)TranlocalBaseGammaTxnRef. openForWrite(GammaTxn tx, int lockMode)booleanBaseGammaTxnRef. prepare(GammaTxn tx, Tranlocal tranlocal)booleanGammaTxnBoolean. set(GammaTxn tx, boolean value)doubleGammaTxnDouble. set(GammaTxn tx, double value)intGammaTxnInteger. set(GammaTxn tx, int value)longGammaTxnLong. set(GammaTxn tx, long value)EGammaTxnRef. set(GammaTxn tx, E value)booleanGammaTxnBoolean. setAndLock(GammaTxn tx, boolean value, LockMode lockMode)doubleGammaTxnDouble. setAndLock(GammaTxn tx, double value, LockMode lockMode)intGammaTxnInteger. setAndLock(GammaTxn tx, int value, LockMode lockMode)longGammaTxnLong. setAndLock(GammaTxn tx, long value, LockMode lockMode)EGammaTxnRef. setAndLock(GammaTxn tx, E value, LockMode lockMode)protected longBaseGammaTxnRef. setLong(GammaTxn tx, LockMode lockMode, long newValue, boolean returnOld)protected ObjectBaseGammaTxnRef. setObject(GammaTxn tx, LockMode lockMode, Object newValue, boolean returnOld)StringGammaTxnBoolean. toString(GammaTxn tx)StringGammaTxnDouble. toString(GammaTxn tx)StringGammaTxnInteger. toString(GammaTxn tx)StringGammaTxnLong. toString(GammaTxn tx)StringGammaTxnRef. toString(GammaTxn tx)booleanBaseGammaTxnRef. 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 GammaTxnGammaTxnFactory. newTransaction(GammaTxnPool pool)GammaTxnGammaTxnFactory. newTxn()GammaTxnGammaTxnFactory. upgradeAfterSpeculativeFailure(GammaTxn tx, GammaTxnPool pool)Methods in org.multiverse.stms.gamma.transactions with parameters of type GammaTxn Modifier and Type Method Description voidGammaTxn. copyForSpeculativeFailure(GammaTxn failingTx)voidGammaTxnPool. put(GammaTxn tx)Puts a GammaTxn in the pool.GammaTxnGammaTxnFactory. 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 classFatFixedLengthGammaTxnA FatGammaTxn(supporting all features) but has a fixed capacity.classFatMonoGammaTxnclassFatVariableLengthGammaTxn -
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 classLeanFixedLengthGammaTxnA Lean GammaTxn that is optimized for a fixed number of GammaTxnRefs.classLeanMonoGammaTxnA Lean GammaTxn implementation that is optimized for dealing with only a single transactional reference.
-