Modifier and Type | Field and Description |
---|---|
Txn |
TxnThreadLocal.Container.txn |
Modifier and Type | Method and Description |
---|---|
static Txn |
TxnThreadLocal.getRequiredThreadLocalTxn()
Gets the threadlocal
Txn or throws a TxnMandatoryException if no transaction is found. |
static Txn |
TxnThreadLocal.getThreadLocalTxn()
Gets the threadlocal
Txn . |
Txn |
Stm.newDefaultTxn()
Starts a default Txn that is useful for testing/experimentation purposes.
|
Txn |
TxnFactory.newTxn()
Creates a new
Txn . |
Modifier and Type | Method and 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.
|
String |
TxnObject.toString(Txn txn)
Returns a String representation of the object using the provided
Txn . |
Modifier and Type | Method and Description |
---|---|
E |
TxnCallable.call(Txn txn)
Executes the callable.
|
int |
TxnIntCallable.call(Txn txn)
Executes the callable.
|
long |
TxnLongCallable.call(Txn txn)
Executes the callable.
|
double |
TxnDoubleCallable.call(Txn txn)
Executes the callable.
|
boolean |
TxnBooleanCallable.call(Txn txn)
Executes the callable.
|
void |
TxnVoidCallable.call(Txn txn)
Executes the callable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TxnCollection.add(Txn txn,
E e)
Ensures that this collection contains the specified element (optional
operation).
|
boolean |
TxnCollection.addAll(Txn txn,
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,
Object o)
Returns true if this collection contains the specified element.
|
boolean |
TxnCollection.containsAll(Txn txn,
Collection<?> c)
Returns true if this collection contains all of the elements
in the specified collection.
|
boolean |
TxnMap.containsKey(Txn txn,
Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
TxnMap.containsValue(Txn txn,
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<Map.Entry<K,V>> |
TxnMap.entrySet(Txn txn)
Returns a
TxnSet view of the mappings contained in this map. |
E |
TxnList.get(Txn txn,
int index) |
V |
TxnMap.get(Txn txn,
Object key)
Returns the value to which the specified key is mapped,
or
null 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,
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 a
TxnSet view of the keys contained in this map. |
int |
TxnList.lastIndexOf(Txn txn,
Object item) |
E |
TxnIterator.next(Txn txn)
Returns the next element in the iteration.
|
boolean |
TxnStack.offer(Txn txn,
E item) |
boolean |
TxnQueue.offer(Txn tx,
E item) |
boolean |
TxnDeque.offerFirst(Txn txn,
E e) |
boolean |
TxnDeque.offerLast(Txn txn,
E e) |
E |
TxnStack.peek(Txn txn) |
E |
TxnQueue.peek(Txn txn) |
E |
TxnDeque.peekFirst(Txn txn) |
E |
TxnDeque.peekLast(Txn txn) |
E |
TxnStack.poll(Txn txn) |
E |
TxnQueue.poll(Txn txn) |
E |
TxnDeque.pollFirst(Txn txn) |
E |
TxnDeque.pollLast(Txn txn) |
E |
TxnStack.pop(Txn txn) |
E |
TxnDeque.pop(Txn txn) |
void |
TxnStack.push(Txn txn,
E item) |
void |
TxnDeque.push(Txn txn,
E e) |
void |
TxnQueue.put(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 |
TxnMap.putAll(Txn txn,
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) |
E |
TxnQueue.remove(Txn txn) |
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) |
boolean |
TxnCollection.remove(Txn txn,
Object o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
V |
TxnMap.remove(Txn txn,
Object key)
Removes the mapping for a key from this map if it is present
(optional operation).
|
E |
TxnDeque.removeFirst(Txn txn) |
boolean |
TxnDeque.removeFirstOccurrence(Txn txn,
Object o) |
E |
TxnDeque.removeLast(Txn txn) |
boolean |
TxnDeque.removeLastOccurrence(Txn txn,
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) |
String |
TxnCollection.toString(Txn txn) |
String |
TxnMap.toString(Txn txn) |
TxnCollection<V> |
TxnMap.values(Txn txn)
Returns a
TxnCollection view of the values contained in this map. |
Modifier and Type | Method and Description |
---|---|
void |
TxnListener.notify(Txn txn,
TxnEvent e)
|
Modifier and Type | Method and 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.
|
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.
|
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.
|
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 |
TxnRef.await(Txn txn,
E value)
Awaits for the reference to become the given value.
|
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,
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 |
TxnRef.commute(Txn txn,
Function<E> 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 |
TxnInteger.decrement(Txn txn)
Decrements the value by one using the provided txn.
|
void |
TxnLong.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,
long amount)
Decrements the value by the given amount using the provided txn.
|
E |
TxnRef.get(Txn txn)
Gets the value using the provided txn.
|
int |
TxnInteger.get(Txn txn)
Gets the value 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.
|
long |
TxnLong.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.
|
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.
|
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.
|
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.
|
E |
TxnRef.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.
|
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.
|
long |
TxnLong.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.
|
E |
TxnRef.getAndSet(Txn txn,
E 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.
|
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.
|
E |
TxnRef.getAndSetAndLock(Txn txn,
E 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.
|
void |
TxnInteger.increment(Txn txn)
Increments the value by one using the provided txn.
|
void |
TxnLong.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,
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.
|
E |
TxnRef.set(Txn txn,
E 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.
|
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.
|
E |
TxnRef.setAndLock(Txn txn,
E 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NaiveTxnStack.add(Txn tx,
E e) |
boolean |
NaiveTxnLinkedList.add(Txn tx,
E e) |
boolean |
NaiveTxnHashSet.add(Txn tx,
E e) |
boolean |
AbstractTxnCollection.addAll(Txn tx,
Collection<? extends E> c) |
boolean |
AbstractTxnCollection.addAll(Txn tx,
TxnCollection<? extends E> c) |
void |
NaiveTxnLinkedList.addFirst(Txn tx,
E e) |
void |
NaiveTxnLinkedList.addLast(Txn tx,
E e) |
void |
NaiveTxnStack.clear(Txn tx) |
void |
NaiveTxnLinkedList.clear(Txn tx) |
void |
NaiveTxnHashSet.clear(Txn tx) |
void |
NaiveTxnHashMap.clear(Txn tx) |
boolean |
NaiveTxnStack.contains(Txn tx,
Object o) |
boolean |
NaiveTxnLinkedList.contains(Txn tx,
Object o) |
boolean |
NaiveTxnHashSet.contains(Txn tx,
Object o) |
boolean |
AbstractTxnCollection.containsAll(Txn tx,
Collection<?> c) |
boolean |
NaiveTxnHashMap.containsKey(Txn tx,
Object key) |
boolean |
NaiveTxnHashMap.containsValue(Txn tx,
Object value) |
TxnIterator<E> |
NaiveTxnLinkedList.descendingIterator(Txn tx) |
E |
NaiveTxnLinkedList.element(Txn tx) |
TxnSet<Map.Entry<K,V>> |
NaiveTxnHashMap.entrySet(Txn tx) |
E |
NaiveTxnLinkedList.get(Txn tx,
int index) |
V |
NaiveTxnHashMap.get(Txn tx,
Object key) |
E |
NaiveTxnLinkedList.getFirst(Txn tx) |
E |
NaiveTxnLinkedList.getLast(Txn tx) |
int |
NaiveTxnLinkedList.indexOf(Txn tx,
Object item) |
boolean |
AbstractTxnCollection.isEmpty(Txn tx) |
boolean |
AbstractTxnMap.isEmpty(Txn tx) |
TxnIterator<E> |
NaiveTxnStack.iterator(Txn tx) |
TxnIterator<E> |
NaiveTxnLinkedList.iterator(Txn tx) |
TxnIterator<E> |
NaiveTxnHashSet.iterator(Txn tx) |
TxnSet<K> |
NaiveTxnHashMap.keySet(Txn tx) |
int |
NaiveTxnLinkedList.lastIndexOf(Txn tx,
Object item) |
boolean |
NaiveTxnStack.offer(Txn tx,
E item) |
boolean |
NaiveTxnLinkedList.offer(Txn tx,
E item) |
boolean |
NaiveTxnLinkedList.offerFirst(Txn tx,
E item) |
boolean |
NaiveTxnLinkedList.offerLast(Txn tx,
E item) |
E |
NaiveTxnStack.peek(Txn tx) |
E |
NaiveTxnLinkedList.peek(Txn tx) |
E |
NaiveTxnLinkedList.peekFirst(Txn tx) |
E |
NaiveTxnLinkedList.peekLast(Txn tx) |
E |
NaiveTxnStack.poll(Txn tx) |
E |
NaiveTxnLinkedList.poll(Txn tx) |
E |
NaiveTxnLinkedList.pollFirst(Txn tx) |
E |
NaiveTxnLinkedList.pollLast(Txn tx) |
E |
NaiveTxnStack.pop(Txn tx) |
E |
NaiveTxnLinkedList.pop(Txn tx) |
void |
NaiveTxnStack.push(Txn tx,
E item) |
void |
NaiveTxnLinkedList.push(Txn tx,
E e) |
void |
NaiveTxnLinkedList.put(Txn tx,
E item) |
V |
NaiveTxnHashMap.put(Txn tx,
K key,
V value) |
void |
AbstractTxnMap.putAll(Txn tx,
Map<? extends K,? extends V> m) |
void |
NaiveTxnLinkedList.putFirst(Txn tx,
E item) |
void |
NaiveTxnLinkedList.putLast(Txn tx,
E item) |
E |
NaiveTxnLinkedList.remove(Txn tx) |
E |
NaiveTxnLinkedList.remove(Txn tx,
int index) |
boolean |
NaiveTxnStack.remove(Txn tx,
Object o) |
boolean |
NaiveTxnLinkedList.remove(Txn tx,
Object o) |
boolean |
NaiveTxnHashSet.remove(Txn tx,
Object item) |
V |
NaiveTxnHashMap.remove(Txn tx,
Object key) |
E |
NaiveTxnLinkedList.removeFirst(Txn tx) |
boolean |
NaiveTxnLinkedList.removeFirstOccurrence(Txn tx,
Object o) |
E |
NaiveTxnLinkedList.removeLast(Txn tx) |
boolean |
NaiveTxnLinkedList.removeLastOccurrence(Txn tx,
Object o) |
E |
NaiveTxnLinkedList.set(Txn tx,
int index,
E element) |
int |
NaiveTxnStack.size(Txn tx) |
int |
NaiveTxnLinkedList.size(Txn tx) |
int |
NaiveTxnHashSet.size(Txn tx) |
int |
NaiveTxnHashMap.size(Txn tx) |
E |
NaiveTxnLinkedList.take(Txn tx) |
E |
NaiveTxnLinkedList.takeFirst(Txn tx) |
E |
NaiveTxnLinkedList.takeLast(Txn tx) |
String |
NaiveTxnStack.toString(Txn tx) |
String |
NaiveTxnLinkedList.toString(Txn tx) |
String |
NaiveTxnHashSet.toString(Txn tx) |
String |
NaiveTxnHashMap.toString(Txn tx) |
TxnCollection<V> |
NaiveTxnHashMap.values(Txn tx) |
Modifier and Type | Method and Description |
---|---|
protected static void |
CommitBarrier.ensureNotDead(Txn tx,
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.
|
boolean |
CommitBarrier.tryJoinCommit(Txn tx)
Tries to joins this CommitBarrier with the provided transaction.
|
boolean |
CommitBarrier.tryJoinCommit(Txn tx,
long timeout,
TimeUnit unit)
Tries to joins this CommitBarrier with the provided transaction.
|
boolean |
CommitBarrier.tryJoinCommitUninterruptibly(Txn tx,
long timeout,
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.
|
Modifier and Type | Method and Description |
---|---|
static GammaTxn |
GammaStmUtils.asGammaTxn(Txn tx) |
Modifier and Type | Method and Description |
---|---|
void |
BaseGammaTxnRef.acquire(Txn tx,
LockMode desiredLockMode) |
boolean |
GammaTxnBoolean.alterAndGet(Txn tx,
BooleanFunction function) |
double |
GammaTxnDouble.alterAndGet(Txn tx,
DoubleFunction function) |
E |
GammaTxnRef.alterAndGet(Txn tx,
Function<E> function) |
int |
GammaTxnInteger.alterAndGet(Txn tx,
IntFunction function) |
long |
GammaTxnLong.alterAndGet(Txn tx,
LongFunction 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 |
GammaTxnRef.await(Txn tx,
E value) |
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,
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 |
GammaTxnRef.commute(Txn tx,
Function<E> function) |
void |
GammaTxnInteger.commute(Txn tx,
IntFunction function) |
void |
GammaTxnLong.commute(Txn tx,
LongFunction function) |
void |
GammaTxnInteger.decrement(Txn tx) |
void |
GammaTxnLong.decrement(Txn tx) |
void |
GammaTxnInteger.decrement(Txn tx,
int amount) |
void |
GammaTxnLong.decrement(Txn tx,
long amount) |
void |
BaseGammaTxnRef.ensure(Txn self) |
E |
GammaTxnRef.get(Txn tx) |
int |
GammaTxnInteger.get(Txn tx) |
boolean |
GammaTxnBoolean.get(Txn tx) |
double |
GammaTxnDouble.get(Txn tx) |
long |
GammaTxnLong.get(Txn tx) |
boolean |
GammaTxnBoolean.getAndAlter(Txn tx,
BooleanFunction function) |
double |
GammaTxnDouble.getAndAlter(Txn tx,
DoubleFunction function) |
E |
GammaTxnRef.getAndAlter(Txn tx,
Function<E> function) |
int |
GammaTxnInteger.getAndAlter(Txn tx,
IntFunction function) |
long |
GammaTxnLong.getAndAlter(Txn tx,
LongFunction function) |
double |
GammaTxnDouble.getAndIncrement(Txn tx,
double amount) |
int |
GammaTxnInteger.getAndIncrement(Txn tx,
int amount) |
long |
GammaTxnLong.getAndIncrement(Txn tx,
long amount) |
E |
GammaTxnRef.getAndLock(Txn tx,
LockMode lockMode) |
int |
GammaTxnInteger.getAndLock(Txn tx,
LockMode lockMode) |
boolean |
GammaTxnBoolean.getAndLock(Txn tx,
LockMode lockMode) |
double |
GammaTxnDouble.getAndLock(Txn tx,
LockMode lockMode) |
long |
GammaTxnLong.getAndLock(Txn tx,
LockMode lockMode) |
boolean |
GammaTxnBoolean.getAndSet(Txn tx,
boolean value) |
double |
GammaTxnDouble.getAndSet(Txn tx,
double value) |
E |
GammaTxnRef.getAndSet(Txn tx,
E value) |
int |
GammaTxnInteger.getAndSet(Txn tx,
int value) |
long |
GammaTxnLong.getAndSet(Txn tx,
long value) |
boolean |
GammaTxnBoolean.getAndSetAndLock(Txn tx,
boolean value,
LockMode lockMode) |
double |
GammaTxnDouble.getAndSetAndLock(Txn tx,
double value,
LockMode lockMode) |
E |
GammaTxnRef.getAndSetAndLock(Txn tx,
E value,
LockMode lockMode) |
int |
GammaTxnInteger.getAndSetAndLock(Txn tx,
int value,
LockMode lockMode) |
long |
GammaTxnLong.getAndSetAndLock(Txn tx,
long value,
LockMode lockMode) |
LockMode |
AbstractGammaObject.getLockMode(Txn tx) |
void |
GammaTxnInteger.increment(Txn tx) |
void |
GammaTxnLong.increment(Txn tx) |
void |
GammaTxnInteger.increment(Txn tx,
int amount) |
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) |
E |
GammaTxnRef.set(Txn tx,
E value) |
int |
GammaTxnInteger.set(Txn tx,
int value) |
long |
GammaTxnLong.set(Txn tx,
long value) |
boolean |
GammaTxnBoolean.setAndLock(Txn tx,
boolean value,
LockMode lockMode) |
double |
GammaTxnDouble.setAndLock(Txn tx,
double value,
LockMode lockMode) |
E |
GammaTxnRef.setAndLock(Txn tx,
E value,
LockMode lockMode) |
int |
GammaTxnInteger.setAndLock(Txn tx,
int value,
LockMode lockMode) |
long |
GammaTxnLong.setAndLock(Txn tx,
long value,
LockMode lockMode) |
String |
GammaTxnRef.toString(Txn tx) |
String |
GammaTxnInteger.toString(Txn tx) |
String |
GammaTxnBoolean.toString(Txn tx) |
String |
GammaTxnDouble.toString(Txn tx) |
String |
GammaTxnLong.toString(Txn tx) |
Modifier and Type | Class and Description |
---|---|
class |
GammaTxn
Abstract GammaTxn to be used by all the concrete GammaTxn implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
FatFixedLengthGammaTxn
A Fat
GammaTxn (supporting all features) but has a fixed capacity. |
class |
FatMonoGammaTxn |
class |
FatVariableLengthGammaTxn |
Modifier and Type | Class and 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.
|
Copyright © 2020. All rights reserved.