Uses of Interface
org.multiverse.api.Txn
-
-
Uses of Txn in org.multiverse.api
Fields in org.multiverse.api declared as Txn Modifier and Type Field Description Txn
TxnThreadLocal.Container. txn
Methods in org.multiverse.api that return Txn Modifier and Type Method Description static Txn
TxnThreadLocal. getRequiredThreadLocalTxn()
Gets the threadlocalTxn
or throws aTxnMandatoryException
if no transaction is found.static Txn
TxnThreadLocal. getThreadLocalTxn()
Gets the threadlocalTxn
.Txn
Stm. newDefaultTxn()
Starts a default Txn that is useful for testing/experimentation purposes.Txn
TxnFactory. newTxn()
Creates a newTxn
.Methods in org.multiverse.api with parameters of type Txn Modifier and Type Method Description void
Lock. acquire(Txn txn, LockMode desiredLockMode)
Acquires a Lock with the provided LockMode using the provided transaction.void
TxnObject. ensure(Txn self)
Does an ensure.LockMode
Lock. getLockMode(Txn txn)
Gets the LockMode the transaction has on the Lock.static void
TxnThreadLocal. setThreadLocalTxn(Txn txn)
Sets the threadlocal transaction.java.lang.String
TxnObject. toString(Txn txn)
Returns a String representation of the object using the providedTxn
. -
Uses of Txn in org.multiverse.api.callables
Methods in org.multiverse.api.callables with parameters of type Txn Modifier and Type Method Description boolean
TxnBooleanCallable. call(Txn txn)
Executes the callable.E
TxnCallable. call(Txn txn)
Executes the callable.double
TxnDoubleCallable. call(Txn txn)
Executes the callable.int
TxnIntCallable. call(Txn txn)
Executes the callable.long
TxnLongCallable. call(Txn txn)
Executes the callable.void
TxnVoidCallable. call(Txn txn)
Executes the callable. -
Uses of Txn in org.multiverse.api.collections
Methods in org.multiverse.api.collections with parameters of type Txn Modifier and Type Method Description boolean
TxnCollection. add(Txn txn, E e)
Ensures that this collection contains the specified element (optional operation).boolean
TxnCollection. addAll(Txn txn, java.util.Collection<? extends E> c)
Adds all of the elements in the specified collection to this collection (optional operation).boolean
TxnCollection. addAll(Txn txn, TxnCollection<? extends E> c)
Adds all of the elements in the specified collection to this collection (optional operation).void
TxnDeque. addFirst(Txn txn, E e)
void
TxnDeque. addLast(Txn txn, E e)
void
TxnCollection. clear(Txn txn)
Removes all of the elements from this collection (optional operation).void
TxnMap. clear(Txn txn)
Removes all of the mappings from this map (optional operation).boolean
TxnCollection. contains(Txn txn, java.lang.Object o)
Returns true if this collection contains the specified element.boolean
TxnCollection. containsAll(Txn txn, java.util.Collection<?> c)
Returns true if this collection contains all of the elements in the specified collection.boolean
TxnMap. containsKey(Txn txn, java.lang.Object key)
Returns true if this map contains a mapping for the specified key.boolean
TxnMap. containsValue(Txn txn, java.lang.Object value)
Returns true if this map maps one or more keys to the specified value.TxnIterator<E>
TxnDeque. descendingIterator(Txn txn)
E
TxnQueue. element(Txn txn)
TxnSet<java.util.Map.Entry<K,V>>
TxnMap. entrySet(Txn txn)
Returns aTxnSet
view of the mappings contained in this map.E
TxnList. get(Txn txn, int index)
V
TxnMap. get(Txn txn, java.lang.Object key)
Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.E
TxnDeque. getFirst(Txn txn)
E
TxnDeque. getLast(Txn txn)
boolean
TxnIterator. hasNext(Txn txn)
Returns true if the iteration has more elements.int
TxnList. indexOf(Txn txn, java.lang.Object item)
boolean
TxnCollection. isEmpty(Txn txn)
Returns true if this collection contains no elements.boolean
TxnMap. isEmpty(Txn txn)
Returns true if this map contains no key-value mappings.TxnIterator<E>
TxnIterable. iterator(Txn txn)
Returns an iterator over a set of elements of type T.TxnSet<K>
TxnMap. keySet(Txn txn)
Returns aTxnSet
view of the keys contained in this map.int
TxnList. lastIndexOf(Txn txn, java.lang.Object item)
E
TxnIterator. next(Txn txn)
Returns the next element in the iteration.boolean
TxnQueue. offer(Txn tx, E item)
boolean
TxnStack. offer(Txn txn, E item)
boolean
TxnDeque. offerFirst(Txn txn, E e)
boolean
TxnDeque. offerLast(Txn txn, E e)
E
TxnQueue. peek(Txn txn)
E
TxnStack. peek(Txn txn)
E
TxnDeque. peekFirst(Txn txn)
E
TxnDeque. peekLast(Txn txn)
E
TxnQueue. poll(Txn txn)
E
TxnStack. poll(Txn txn)
E
TxnDeque. pollFirst(Txn txn)
E
TxnDeque. pollLast(Txn txn)
E
TxnDeque. pop(Txn txn)
E
TxnStack. pop(Txn txn)
void
TxnDeque. push(Txn txn, E e)
void
TxnStack. push(Txn txn, E item)
V
TxnMap. put(Txn txn, K key, V value)
Associates the specified value with the specified key in this map (optional operation).void
TxnQueue. put(Txn txn, E item)
void
TxnMap. putAll(Txn txn, java.util.Map<? extends K,? extends V> m)
Copies all of the mappings from the specified map to this map (optional operation).void
TxnDeque. putFirst(Txn txn, E item)
void
TxnDeque. putLast(Txn txn, E item)
boolean
TxnCollection. remove(Txn txn, java.lang.Object o)
Removes a single instance of the specified element from this collection, if it is present (optional operation).void
TxnIterator. remove(Txn txn)
Removes from the underlying collection the last element returned by the iterator (optional operation).E
TxnList. remove(Txn txn, int index)
V
TxnMap. remove(Txn txn, java.lang.Object key)
Removes the mapping for a key from this map if it is present (optional operation).E
TxnQueue. remove(Txn txn)
E
TxnDeque. removeFirst(Txn txn)
boolean
TxnDeque. removeFirstOccurrence(Txn txn, java.lang.Object o)
E
TxnDeque. removeLast(Txn txn)
boolean
TxnDeque. removeLastOccurrence(Txn txn, java.lang.Object o)
E
TxnList. set(Txn txn, int index, E element)
int
TxnCollection. size(Txn txn)
Returns the number of elements in this collection.int
TxnMap. size(Txn txn)
Returns the number of key-value mappings in this map.E
TxnQueue. take(Txn txn)
E
TxnDeque. takeFirst(Txn txn)
E
TxnDeque. takeLast(Txn txn)
java.lang.String
TxnCollection. toString(Txn txn)
java.lang.String
TxnMap. toString(Txn txn)
TxnCollection<V>
TxnMap. values(Txn txn)
Returns aTxnCollection
view of the values contained in this map. -
Uses of Txn in org.multiverse.api.lifecycle
Methods in org.multiverse.api.lifecycle with parameters of type Txn Modifier and Type Method Description void
TxnListener. notify(Txn txn, TxnEvent e)
-
Uses of Txn in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type Txn Modifier and Type Method Description boolean
TxnBoolean. alterAndGet(Txn txn, BooleanFunction function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.double
TxnDouble. alterAndGet(Txn txn, DoubleFunction function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.int
TxnInteger. alterAndGet(Txn txn, IntFunction function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.long
TxnLong. alterAndGet(Txn txn, LongFunction function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.E
TxnRef. alterAndGet(Txn txn, Function<E> function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.void
TxnBoolean. await(Txn txn, boolean value)
Awaits for the reference to become the given value.void
TxnBoolean. await(Txn txn, BooleanPredicate predicate)
Awaits until the predicate holds using the provided txn.void
TxnDouble. await(Txn txn, double value)
Awaits for the reference to become the given value.void
TxnDouble. await(Txn txn, DoublePredicate predicate)
Awaits until the predicate holds using the provided txn.void
TxnInteger. await(Txn txn, int value)
Awaits for the reference to become the given value.void
TxnInteger. await(Txn txn, IntPredicate predicate)
Awaits until the predicate holds using the provided txn.void
TxnLong. await(Txn txn, long value)
Awaits for the reference to become the given value.void
TxnLong. await(Txn txn, LongPredicate predicate)
Awaits until the predicate holds using the provided txn.void
TxnRef. await(Txn txn, E value)
Awaits for the reference to become the given value.void
TxnRef. await(Txn txn, Predicate<E> predicate)
Awaits until the predicate holds using the provided txn.E
TxnRef. awaitNotNullAndGet(Txn txn)
Awaits for the value to become not null using the provided txn.void
TxnRef. awaitNull(Txn txn)
Awaits for the value to become not null using the provided txn.void
TxnBoolean. commute(Txn txn, BooleanFunction function)
Applies the function on the ref in a commuting manner.void
TxnDouble. commute(Txn txn, DoubleFunction function)
Applies the function on the ref in a commuting manner.void
TxnInteger. commute(Txn txn, IntFunction function)
Applies the function on the ref in a commuting manner.void
TxnLong. commute(Txn txn, LongFunction function)
Applies the function on the ref in a commuting manner.void
TxnRef. commute(Txn txn, Function<E> function)
Applies the function on the ref in a commuting manner.void
TxnInteger. decrement(Txn txn)
Decrements the value by one using the provided txn.void
TxnInteger. decrement(Txn txn, int amount)
Decrements the value by the given amount using the provided txn.void
TxnLong. decrement(Txn txn)
Decrements the value by one using the provided txn.void
TxnLong. decrement(Txn txn, long amount)
Decrements the value by the given amount using the provided txn.boolean
TxnBoolean. get(Txn txn)
Gets the value using the provided txn.double
TxnDouble. get(Txn txn)
Gets the value using the provided txn.int
TxnInteger. get(Txn txn)
Gets the value using the provided txn.long
TxnLong. get(Txn txn)
Gets the value using the provided txn.E
TxnRef. get(Txn txn)
Gets the value using the provided txn.boolean
TxnBoolean. getAndAlter(Txn txn, BooleanFunction function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn.double
TxnDouble. getAndAlter(Txn txn, DoubleFunction function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn.int
TxnInteger. getAndAlter(Txn txn, IntFunction function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn.long
TxnLong. getAndAlter(Txn txn, LongFunction function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn.E
TxnRef. getAndAlter(Txn txn, Function<E> function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn.double
TxnDouble. getAndIncrement(Txn txn, double amount)
Increments the value and returns the old value using the provided txn.int
TxnInteger. getAndIncrement(Txn txn, int amount)
Increments the value and returns the old value using the provided txn.long
TxnLong. getAndIncrement(Txn txn, long amount)
Increments the value and returns the old value using the provided txn.boolean
TxnBoolean. getAndLock(Txn txn, LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode.double
TxnDouble. getAndLock(Txn txn, LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode.int
TxnInteger. getAndLock(Txn txn, LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode.long
TxnLong. getAndLock(Txn txn, LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode.E
TxnRef. getAndLock(Txn txn, LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode.boolean
TxnBoolean. getAndSet(Txn txn, boolean value)
Sets the value using the provided txn.double
TxnDouble. getAndSet(Txn txn, double value)
Sets the value using the provided txn.int
TxnInteger. getAndSet(Txn txn, int value)
Sets the value using the provided txn.long
TxnLong. getAndSet(Txn txn, long value)
Sets the value using the provided txn.E
TxnRef. getAndSet(Txn txn, E value)
Sets the value using the provided txn.boolean
TxnBoolean. getAndSetAndLock(Txn txn, boolean value, LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode.double
TxnDouble. getAndSetAndLock(Txn txn, double value, LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode.int
TxnInteger. getAndSetAndLock(Txn txn, int value, LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode.long
TxnLong. getAndSetAndLock(Txn txn, long value, LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode.E
TxnRef. getAndSetAndLock(Txn txn, E value, LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode.void
TxnInteger. increment(Txn txn)
Increments the value by one using the provided txn.void
TxnInteger. increment(Txn txn, int amount)
Increments the value by the given amount using the provided txn.void
TxnLong. increment(Txn txn)
Increments the value by one using the provided txn.void
TxnLong. increment(Txn txn, long amount)
Increments the value by the given amount using the provided txn.double
TxnDouble. incrementAndGet(Txn txn, double amount)
Increments and gets the new value using the provided txn.int
TxnInteger. incrementAndGet(Txn txn, int amount)
Increments and gets the new value using the provided txn.long
TxnLong. incrementAndGet(Txn txn, long amount)
Increments and gets the new value using the provided txn.boolean
TxnRef. isNull(Txn txn)
Checks if the current value is null using the provided txn.boolean
TxnBoolean. set(Txn txn, boolean value)
Sets the new value using the provided txn.double
TxnDouble. set(Txn txn, double value)
Sets the new value using the provided txn.int
TxnInteger. set(Txn txn, int value)
Sets the new value using the provided txn.long
TxnLong. set(Txn txn, long value)
Sets the new value using the provided txn.E
TxnRef. set(Txn txn, E value)
Sets the new value using the provided txn.boolean
TxnBoolean. setAndLock(Txn txn, boolean value, LockMode lockMode)
Sets the new value using the provided txn.double
TxnDouble. setAndLock(Txn txn, double value, LockMode lockMode)
Sets the new value using the provided txn.int
TxnInteger. setAndLock(Txn txn, int value, LockMode lockMode)
Sets the new value using the provided txn.long
TxnLong. setAndLock(Txn txn, long value, LockMode lockMode)
Sets the new value using the provided txn.E
TxnRef. setAndLock(Txn txn, E value, LockMode lockMode)
Sets the new value using the provided txn. -
Uses of Txn in org.multiverse.collections
Methods in org.multiverse.collections with parameters of type Txn Modifier and Type Method Description boolean
NaiveTxnHashSet. add(Txn tx, E e)
boolean
NaiveTxnLinkedList. add(Txn tx, E e)
boolean
NaiveTxnStack. add(Txn tx, E e)
boolean
AbstractTxnCollection. addAll(Txn tx, java.util.Collection<? extends E> c)
boolean
AbstractTxnCollection. addAll(Txn tx, TxnCollection<? extends E> c)
(package private) void
NaiveTxnHashMap. addEntry(Txn tx, int hash, K key, V value, int bucketIndex)
void
NaiveTxnLinkedList. addFirst(Txn tx, E e)
void
NaiveTxnLinkedList. addLast(Txn tx, E e)
void
NaiveTxnHashMap. clear(Txn tx)
void
NaiveTxnHashSet. clear(Txn tx)
void
NaiveTxnLinkedList. clear(Txn tx)
void
NaiveTxnStack. clear(Txn tx)
boolean
NaiveTxnHashSet. contains(Txn tx, java.lang.Object o)
boolean
NaiveTxnLinkedList. contains(Txn tx, java.lang.Object o)
boolean
NaiveTxnStack. contains(Txn tx, java.lang.Object o)
boolean
AbstractTxnCollection. containsAll(Txn tx, java.util.Collection<?> c)
boolean
NaiveTxnHashMap. containsKey(Txn tx, java.lang.Object key)
boolean
NaiveTxnHashMap. containsValue(Txn tx, java.lang.Object value)
TxnIterator<E>
NaiveTxnLinkedList. descendingIterator(Txn tx)
E
NaiveTxnLinkedList. element(Txn tx)
private NaiveTxnLinkedList.Entry<E>
NaiveTxnLinkedList. entry(Txn tx, int index)
TxnSet<java.util.Map.Entry<K,V>>
NaiveTxnHashMap. entrySet(Txn tx)
V
NaiveTxnHashMap. get(Txn tx, java.lang.Object key)
E
NaiveTxnLinkedList. get(Txn tx, int index)
private NaiveTxnHashMap.NaiveEntry<K,V>
NaiveTxnHashMap. getEntry(Txn tx, java.lang.Object key)
E
NaiveTxnLinkedList. getFirst(Txn tx)
E
NaiveTxnLinkedList. getLast(Txn tx)
boolean
NaiveTxnHashSet.It. hasNext(Txn tx)
boolean
NaiveTxnStack.It. hasNext(Txn tx)
int
NaiveTxnLinkedList. indexOf(Txn tx, java.lang.Object item)
boolean
AbstractTxnCollection. isEmpty(Txn tx)
boolean
AbstractTxnMap. isEmpty(Txn tx)
TxnIterator<E>
NaiveTxnHashSet. iterator(Txn tx)
TxnIterator<E>
NaiveTxnLinkedList. iterator(Txn tx)
TxnIterator<E>
NaiveTxnStack. iterator(Txn tx)
TxnSet<K>
NaiveTxnHashMap. keySet(Txn tx)
int
NaiveTxnLinkedList. lastIndexOf(Txn tx, java.lang.Object item)
E
NaiveTxnHashSet.It. next(Txn tx)
E
NaiveTxnStack.It. next(Txn tx)
boolean
NaiveTxnLinkedList. offer(Txn tx, E item)
boolean
NaiveTxnStack. offer(Txn tx, E item)
boolean
NaiveTxnLinkedList. offerFirst(Txn tx, E item)
boolean
NaiveTxnLinkedList. offerLast(Txn tx, E item)
E
NaiveTxnLinkedList. peek(Txn tx)
E
NaiveTxnStack. peek(Txn tx)
E
NaiveTxnLinkedList. peekFirst(Txn tx)
E
NaiveTxnLinkedList. peekLast(Txn tx)
E
NaiveTxnLinkedList. poll(Txn tx)
E
NaiveTxnStack. poll(Txn tx)
E
NaiveTxnLinkedList. pollFirst(Txn tx)
E
NaiveTxnLinkedList. pollLast(Txn tx)
E
NaiveTxnLinkedList. pop(Txn tx)
E
NaiveTxnStack. pop(Txn tx)
void
NaiveTxnLinkedList. push(Txn tx, E e)
void
NaiveTxnStack. push(Txn tx, E item)
V
NaiveTxnHashMap. put(Txn tx, K key, V value)
void
NaiveTxnLinkedList. put(Txn tx, E item)
void
AbstractTxnMap. putAll(Txn tx, java.util.Map<? extends K,? extends V> m)
void
NaiveTxnLinkedList. putFirst(Txn tx, E item)
void
NaiveTxnLinkedList. putLast(Txn tx, E item)
V
NaiveTxnHashMap. remove(Txn tx, java.lang.Object key)
void
NaiveTxnHashSet.It. remove(Txn tx)
boolean
NaiveTxnHashSet. remove(Txn tx, java.lang.Object item)
E
NaiveTxnLinkedList. remove(Txn tx)
E
NaiveTxnLinkedList. remove(Txn tx, int index)
boolean
NaiveTxnLinkedList. remove(Txn tx, java.lang.Object o)
void
NaiveTxnStack.It. remove(Txn tx)
boolean
NaiveTxnStack. remove(Txn tx, java.lang.Object o)
E
NaiveTxnLinkedList. removeFirst(Txn tx)
boolean
NaiveTxnLinkedList. removeFirstOccurrence(Txn tx, java.lang.Object o)
E
NaiveTxnLinkedList. removeLast(Txn tx)
boolean
NaiveTxnLinkedList. removeLastOccurrence(Txn tx, java.lang.Object o)
(package private) void
NaiveTxnHashMap. resize(Txn tx, int newCapacity)
E
NaiveTxnLinkedList. set(Txn tx, int index, E element)
int
NaiveTxnHashMap. size(Txn tx)
int
NaiveTxnHashSet. size(Txn tx)
int
NaiveTxnLinkedList. size(Txn tx)
int
NaiveTxnStack. size(Txn tx)
E
NaiveTxnLinkedList. take(Txn tx)
E
NaiveTxnLinkedList. takeFirst(Txn tx)
E
NaiveTxnLinkedList. takeLast(Txn tx)
java.lang.String
NaiveTxnHashMap. toString(Txn tx)
java.lang.String
NaiveTxnHashSet. toString(Txn tx)
java.lang.String
NaiveTxnLinkedList. toString(Txn tx)
java.lang.String
NaiveTxnStack. toString(Txn tx)
(package private) void
NaiveTxnHashMap. transfer(Txn tx, TxnRef<NaiveTxnHashMap.NaiveEntry>[] newTable)
TxnCollection<V>
NaiveTxnHashMap. values(Txn tx)
-
Uses of Txn in org.multiverse.commitbarriers
Methods in org.multiverse.commitbarriers with parameters of type Txn Modifier and Type Method Description protected static void
CommitBarrier. ensureNotDead(Txn tx, java.lang.String operation)
Ensures that a transaction is not dead.protected void
CommitBarrier. finish(Txn tx)
Finishes a Txn.void
CountDownCommitBarrier. incParties(Txn tx, int extra)
Increases the number of parties that need to return before this CommitBarrier can open.void
CommitBarrier. joinCommit(Txn tx)
Joins this CommitBarrier with the provided transaction.void
CommitBarrier. joinCommitUninterruptibly(Txn tx)
Joins this CommitBarrier with the provided transaction.void
CountDownCommitBarrier.RestorePartiesCompensatingTask. notify(Txn tx, TxnEvent event)
boolean
CommitBarrier. tryJoinCommit(Txn tx)
Tries to joins this CommitBarrier with the provided transaction.boolean
CommitBarrier. tryJoinCommit(Txn tx, long timeout, java.util.concurrent.TimeUnit unit)
Tries to joins this CommitBarrier with the provided transaction.boolean
CommitBarrier. tryJoinCommitUninterruptibly(Txn tx, long timeout, java.util.concurrent.TimeUnit unit)
Tries to joins this CommitBarrier with the provided transaction.void
VetoCommitBarrier. vetoCommit(Txn tx)
Veto's the commit of this VetoCommitBarrier including the provided transaction. -
Uses of Txn in org.multiverse.stms.gamma
Methods in org.multiverse.stms.gamma with parameters of type Txn Modifier and Type Method Description static GammaTxn
GammaStmUtils. asGammaTxn(Txn tx)
-
Uses of Txn in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type Txn Modifier and Type Method Description void
BaseGammaTxnRef. acquire(Txn tx, LockMode desiredLockMode)
boolean
GammaTxnBoolean. alterAndGet(Txn tx, BooleanFunction function)
double
GammaTxnDouble. alterAndGet(Txn tx, DoubleFunction function)
int
GammaTxnInteger. alterAndGet(Txn tx, IntFunction function)
long
GammaTxnLong. alterAndGet(Txn tx, LongFunction function)
E
GammaTxnRef. alterAndGet(Txn tx, Function<E> function)
void
GammaTxnBoolean. await(Txn tx, boolean value)
void
GammaTxnBoolean. await(Txn tx, BooleanPredicate predicate)
void
GammaTxnDouble. await(Txn tx, double value)
void
GammaTxnDouble. await(Txn tx, DoublePredicate predicate)
void
GammaTxnInteger. await(Txn tx, int value)
void
GammaTxnInteger. await(Txn tx, IntPredicate predicate)
void
GammaTxnLong. await(Txn tx, long value)
void
GammaTxnLong. await(Txn tx, LongPredicate predicate)
void
GammaTxnRef. await(Txn tx, E value)
void
GammaTxnRef. await(Txn tx, Predicate<E> predicate)
E
GammaTxnRef. awaitNotNullAndGet(Txn tx)
void
GammaTxnRef. awaitNull(Txn tx)
void
GammaTxnBoolean. commute(Txn tx, BooleanFunction function)
void
GammaTxnDouble. commute(Txn tx, DoubleFunction function)
void
GammaTxnInteger. commute(Txn tx, IntFunction function)
void
GammaTxnLong. commute(Txn tx, LongFunction function)
void
GammaTxnRef. commute(Txn tx, Function<E> function)
void
GammaTxnInteger. decrement(Txn tx)
void
GammaTxnInteger. decrement(Txn tx, int amount)
void
GammaTxnLong. decrement(Txn tx)
void
GammaTxnLong. decrement(Txn tx, long amount)
void
BaseGammaTxnRef. ensure(Txn self)
boolean
GammaTxnBoolean. get(Txn tx)
double
GammaTxnDouble. get(Txn tx)
int
GammaTxnInteger. get(Txn tx)
long
GammaTxnLong. get(Txn tx)
E
GammaTxnRef. get(Txn tx)
boolean
GammaTxnBoolean. getAndAlter(Txn tx, BooleanFunction function)
double
GammaTxnDouble. getAndAlter(Txn tx, DoubleFunction function)
int
GammaTxnInteger. getAndAlter(Txn tx, IntFunction function)
long
GammaTxnLong. getAndAlter(Txn tx, LongFunction function)
E
GammaTxnRef. getAndAlter(Txn tx, Function<E> function)
double
GammaTxnDouble. getAndIncrement(Txn tx, double amount)
int
GammaTxnInteger. getAndIncrement(Txn tx, int amount)
long
GammaTxnLong. getAndIncrement(Txn tx, long amount)
boolean
GammaTxnBoolean. getAndLock(Txn tx, LockMode lockMode)
double
GammaTxnDouble. getAndLock(Txn tx, LockMode lockMode)
int
GammaTxnInteger. getAndLock(Txn tx, LockMode lockMode)
long
GammaTxnLong. getAndLock(Txn tx, LockMode lockMode)
E
GammaTxnRef. getAndLock(Txn tx, LockMode lockMode)
boolean
GammaTxnBoolean. getAndSet(Txn tx, boolean value)
double
GammaTxnDouble. getAndSet(Txn tx, double value)
int
GammaTxnInteger. getAndSet(Txn tx, int value)
long
GammaTxnLong. getAndSet(Txn tx, long value)
E
GammaTxnRef. getAndSet(Txn tx, E value)
boolean
GammaTxnBoolean. getAndSetAndLock(Txn tx, boolean value, LockMode lockMode)
double
GammaTxnDouble. getAndSetAndLock(Txn tx, double value, LockMode lockMode)
int
GammaTxnInteger. getAndSetAndLock(Txn tx, int value, LockMode lockMode)
long
GammaTxnLong. getAndSetAndLock(Txn tx, long value, LockMode lockMode)
E
GammaTxnRef. getAndSetAndLock(Txn tx, E value, LockMode lockMode)
LockMode
AbstractGammaObject. getLockMode(Txn tx)
void
GammaTxnInteger. increment(Txn tx)
void
GammaTxnInteger. increment(Txn tx, int amount)
void
GammaTxnLong. increment(Txn tx)
void
GammaTxnLong. increment(Txn tx, long amount)
double
GammaTxnDouble. incrementAndGet(Txn tx, double amount)
int
GammaTxnInteger. incrementAndGet(Txn tx, int amount)
long
GammaTxnLong. incrementAndGet(Txn tx, long amount)
boolean
GammaTxnRef. isNull(Txn tx)
boolean
GammaTxnBoolean. set(Txn tx, boolean value)
double
GammaTxnDouble. set(Txn tx, double value)
int
GammaTxnInteger. set(Txn tx, int value)
long
GammaTxnLong. set(Txn tx, long value)
E
GammaTxnRef. set(Txn tx, E value)
boolean
GammaTxnBoolean. setAndLock(Txn tx, boolean value, LockMode lockMode)
double
GammaTxnDouble. setAndLock(Txn tx, double value, LockMode lockMode)
int
GammaTxnInteger. setAndLock(Txn tx, int value, LockMode lockMode)
long
GammaTxnLong. setAndLock(Txn tx, long value, LockMode lockMode)
E
GammaTxnRef. setAndLock(Txn tx, E value, LockMode lockMode)
java.lang.String
GammaTxnBoolean. toString(Txn tx)
java.lang.String
GammaTxnDouble. toString(Txn tx)
java.lang.String
GammaTxnInteger. toString(Txn tx)
java.lang.String
GammaTxnLong. toString(Txn tx)
java.lang.String
GammaTxnRef. toString(Txn tx)
-
Uses of Txn in org.multiverse.stms.gamma.transactions
Classes in org.multiverse.stms.gamma.transactions that implement Txn Modifier and Type Class Description class
GammaTxn
Abstract GammaTxn to be used by all the concrete GammaTxn implementations. -
Uses of Txn in org.multiverse.stms.gamma.transactions.fat
Classes in org.multiverse.stms.gamma.transactions.fat that implement Txn Modifier and Type Class Description class
FatFixedLengthGammaTxn
A FatGammaTxn
(supporting all features) but has a fixed capacity.class
FatMonoGammaTxn
class
FatVariableLengthGammaTxn
-
Uses of Txn in org.multiverse.stms.gamma.transactions.lean
Classes in org.multiverse.stms.gamma.transactions.lean that implement Txn 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.
-