RingJavafor Ring

java.util.concurrent.atomic

16 classes of the module java.base.

Load them with:

using {
	"java.util.concurrent.atomic"
}

All packages

AtomicBoolean#

class · extends Object · java.util.concurrent.atomic.AtomicBoolean

Implements: Serializable

Constructors

new AtomicBoolean()
new AtomicBoolean(boolean initialValue)

Ring: new AtomicBoolean(args) uses the constructor with the fewest parameters (at least one); new AtomicBoolean makes the object with the constructor without parameters; the others: (new AtomicBoolean).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get()boolean get()
compareAndExchangecompareAndExchange(expectedValue,newValue)boolean compareAndExchange(boolean expectedValue, boolean newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(expectedValue,newValue)boolean compareAndExchangeAcquire(boolean expectedValue, boolean newValue)
compareAndExchangeReleasecompareAndExchangeRelease(expectedValue,newValue)boolean compareAndExchangeRelease(boolean expectedValue, boolean newValue)
compareAndSetcompareAndSet(expectedValue,newValue)boolean compareAndSet(boolean expectedValue, boolean newValue)
getAcquiregetAcquire()boolean getAcquire()
getAndSetgetAndSet(newValue)boolean getAndSet(boolean newValue)
getOpaquegetOpaque()boolean getOpaque()
getPlaingetPlain()boolean getPlain()
lazySetlazySet(newValue)void lazySet(boolean newValue)
setset(newValue)void set(boolean newValue)
setOpaquesetOpaque(newValue)void setOpaque(boolean newValue)
setPlainsetPlain(newValue)void setPlain(boolean newValue)
setReleasesetRelease(newValue)void setRelease(boolean newValue)
weakCompareAndSetweakCompareAndSet(expectedValue,newValue)boolean weakCompareAndSet(boolean expectedValue, boolean newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(expectedValue,newValue)boolean weakCompareAndSetAcquire(boolean expectedValue, boolean newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(expectedValue,newValue)boolean weakCompareAndSetPlain(boolean expectedValue, boolean newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(expectedValue,newValue)boolean weakCompareAndSetRelease(boolean expectedValue, boolean newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(expectedValue,newValue)boolean weakCompareAndSetVolatile(boolean expectedValue, boolean newValue)

The methods and fields of Object are inherited.

AtomicInteger#

class · extends Number · java.util.concurrent.atomic.AtomicInteger

Implements: Serializable

Constructors

new AtomicInteger()
new AtomicInteger(int initialValue)

Ring: new AtomicInteger(args) uses the constructor with the fewest parameters (at least one); new AtomicInteger makes the object with the constructor without parameters; the others: (new AtomicInteger).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get()int get()
accumulateAndGetaccumulateAndGet(x,accumulatorFunction)int accumulateAndGet(int x, IntBinaryOperator accumulatorFunction)
addAndGetaddAndGet(delta)int addAndGet(int delta)
compareAndExchangecompareAndExchange(expectedValue,newValue)int compareAndExchange(int expectedValue, int newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(expectedValue,newValue)int compareAndExchangeAcquire(int expectedValue, int newValue)
compareAndExchangeReleasecompareAndExchangeRelease(expectedValue,newValue)int compareAndExchangeRelease(int expectedValue, int newValue)
compareAndSetcompareAndSet(expectedValue,newValue)boolean compareAndSet(int expectedValue, int newValue)
decrementAndGetdecrementAndGet()int decrementAndGet()
getAcquiregetAcquire()int getAcquire()
getAndAccumulategetAndAccumulate(x,accumulatorFunction)int getAndAccumulate(int x, IntBinaryOperator accumulatorFunction)
getAndAddgetAndAdd(delta)int getAndAdd(int delta)
getAndDecrementgetAndDecrement()int getAndDecrement()
getAndIncrementgetAndIncrement()int getAndIncrement()
getAndSetgetAndSet(newValue)int getAndSet(int newValue)
getAndUpdategetAndUpdate(updateFunction)int getAndUpdate(IntUnaryOperator updateFunction)
getOpaquegetOpaque()int getOpaque()
getPlaingetPlain()int getPlain()
incrementAndGetincrementAndGet()int incrementAndGet()
lazySetlazySet(newValue)void lazySet(int newValue)
setset(newValue)void set(int newValue)
setOpaquesetOpaque(newValue)void setOpaque(int newValue)
setPlainsetPlain(newValue)void setPlain(int newValue)
setReleasesetRelease(newValue)void setRelease(int newValue)
updateAndGetupdateAndGet(updateFunction)int updateAndGet(IntUnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(expectedValue,newValue)boolean weakCompareAndSet(int expectedValue, int newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(expectedValue,newValue)boolean weakCompareAndSetAcquire(int expectedValue, int newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(expectedValue,newValue)boolean weakCompareAndSetPlain(int expectedValue, int newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(expectedValue,newValue)boolean weakCompareAndSetRelease(int expectedValue, int newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(expectedValue,newValue)boolean weakCompareAndSetVolatile(int expectedValue, int newValue)

The methods and fields of Number are inherited.

AtomicIntegerArray#

class · extends Object · java.util.concurrent.atomic.AtomicIntegerArray

Implements: Serializable

Constructors

new AtomicIntegerArray(int length)
new AtomicIntegerArray(int[] array)

Ring: new AtomicIntegerArray(args) uses the constructor with the fewest parameters (at least one); new AtomicIntegerArray makes the object with the constructor without parameters; the others: (new AtomicIntegerArray).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get(i)int get(int i)
accumulateAndGetaccumulateAndGet(i,x,accumulatorFunction)int accumulateAndGet(int i, int x, IntBinaryOperator accumulatorFunction)
addAndGetaddAndGet(i,delta)int addAndGet(int i, int delta)
compareAndExchangecompareAndExchange(i,expectedValue,newValue)int compareAndExchange(int i, int expectedValue, int newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(i,expectedValue,newValue)int compareAndExchangeAcquire(int i, int expectedValue, int newValue)
compareAndExchangeReleasecompareAndExchangeRelease(i,expectedValue,newValue)int compareAndExchangeRelease(int i, int expectedValue, int newValue)
compareAndSetcompareAndSet(i,expectedValue,newValue)boolean compareAndSet(int i, int expectedValue, int newValue)
decrementAndGetdecrementAndGet(i)int decrementAndGet(int i)
getAcquiregetAcquire(i)int getAcquire(int i)
getAndAccumulategetAndAccumulate(i,x,accumulatorFunction)int getAndAccumulate(int i, int x, IntBinaryOperator accumulatorFunction)
getAndAddgetAndAdd(i,delta)int getAndAdd(int i, int delta)
getAndDecrementgetAndDecrement(i)int getAndDecrement(int i)
getAndIncrementgetAndIncrement(i)int getAndIncrement(int i)
getAndSetgetAndSet(i,newValue)int getAndSet(int i, int newValue)
getAndUpdategetAndUpdate(i,updateFunction)int getAndUpdate(int i, IntUnaryOperator updateFunction)
getOpaquegetOpaque(i)int getOpaque(int i)
getPlaingetPlain(i)int getPlain(int i)
incrementAndGetincrementAndGet(i)int incrementAndGet(int i)
lazySetlazySet(i,newValue)void lazySet(int i, int newValue)
lengthlength()int length()
setset(i,newValue)void set(int i, int newValue)
setOpaquesetOpaque(i,newValue)void setOpaque(int i, int newValue)
setPlainsetPlain(i,newValue)void setPlain(int i, int newValue)
setReleasesetRelease(i,newValue)void setRelease(int i, int newValue)
updateAndGetupdateAndGet(i,updateFunction)int updateAndGet(int i, IntUnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(i,expectedValue,newValue)boolean weakCompareAndSet(int i, int expectedValue, int newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(i,expectedValue,newValue)boolean weakCompareAndSetAcquire(int i, int expectedValue, int newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(i,expectedValue,newValue)boolean weakCompareAndSetPlain(int i, int expectedValue, int newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(i,expectedValue,newValue)boolean weakCompareAndSetRelease(int i, int expectedValue, int newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(i,expectedValue,newValue)boolean weakCompareAndSetVolatile(int i, int expectedValue, int newValue)

The methods and fields of Object are inherited.

AtomicIntegerFieldUpdater#

abstract · extends Object · java.util.concurrent.atomic.AtomicIntegerFieldUpdater

Methods

MethodRing callJava overloads
@get@get(obj)int get(Object obj)
accumulateAndGetaccumulateAndGet(obj,x,accumulatorFunction)int accumulateAndGet(Object obj, int x, IntBinaryOperator accumulatorFunction)
addAndGetaddAndGet(obj,delta)int addAndGet(Object obj, int delta)
compareAndSetcompareAndSet(obj,expect,update)boolean compareAndSet(Object obj, int expect, int update)
decrementAndGetdecrementAndGet(obj)int decrementAndGet(Object obj)
getAndAccumulategetAndAccumulate(obj,x,accumulatorFunction)int getAndAccumulate(Object obj, int x, IntBinaryOperator accumulatorFunction)
getAndAddgetAndAdd(obj,delta)int getAndAdd(Object obj, int delta)
getAndDecrementgetAndDecrement(obj)int getAndDecrement(Object obj)
getAndIncrementgetAndIncrement(obj)int getAndIncrement(Object obj)
getAndSetgetAndSet(obj,newValue)int getAndSet(Object obj, int newValue)
getAndUpdategetAndUpdate(obj,updateFunction)int getAndUpdate(Object obj, IntUnaryOperator updateFunction)
incrementAndGetincrementAndGet(obj)int incrementAndGet(Object obj)
lazySetlazySet(obj,newValue)void lazySet(Object obj, int newValue)
newUpdaternewUpdater(tclass,fieldName)static AtomicIntegerFieldUpdater newUpdater(Class tclass, String fieldName)
setset(obj,newValue)void set(Object obj, int newValue)
updateAndGetupdateAndGet(obj,updateFunction)int updateAndGet(Object obj, IntUnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(obj,expect,update)boolean weakCompareAndSet(Object obj, int expect, int update)

The methods and fields of Object are inherited.

AtomicLong#

class · extends Number · java.util.concurrent.atomic.AtomicLong

Implements: Serializable

Constructors

new AtomicLong()
new AtomicLong(long initialValue)

Ring: new AtomicLong(args) uses the constructor with the fewest parameters (at least one); new AtomicLong makes the object with the constructor without parameters; the others: (new AtomicLong).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get()long get()
accumulateAndGetaccumulateAndGet(x,accumulatorFunction)long accumulateAndGet(long x, LongBinaryOperator accumulatorFunction)
addAndGetaddAndGet(delta)long addAndGet(long delta)
compareAndExchangecompareAndExchange(expectedValue,newValue)long compareAndExchange(long expectedValue, long newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(expectedValue,newValue)long compareAndExchangeAcquire(long expectedValue, long newValue)
compareAndExchangeReleasecompareAndExchangeRelease(expectedValue,newValue)long compareAndExchangeRelease(long expectedValue, long newValue)
compareAndSetcompareAndSet(expectedValue,newValue)boolean compareAndSet(long expectedValue, long newValue)
decrementAndGetdecrementAndGet()long decrementAndGet()
getAcquiregetAcquire()long getAcquire()
getAndAccumulategetAndAccumulate(x,accumulatorFunction)long getAndAccumulate(long x, LongBinaryOperator accumulatorFunction)
getAndAddgetAndAdd(delta)long getAndAdd(long delta)
getAndDecrementgetAndDecrement()long getAndDecrement()
getAndIncrementgetAndIncrement()long getAndIncrement()
getAndSetgetAndSet(newValue)long getAndSet(long newValue)
getAndUpdategetAndUpdate(updateFunction)long getAndUpdate(LongUnaryOperator updateFunction)
getOpaquegetOpaque()long getOpaque()
getPlaingetPlain()long getPlain()
incrementAndGetincrementAndGet()long incrementAndGet()
lazySetlazySet(newValue)void lazySet(long newValue)
setset(newValue)void set(long newValue)
setOpaquesetOpaque(newValue)void setOpaque(long newValue)
setPlainsetPlain(newValue)void setPlain(long newValue)
setReleasesetRelease(newValue)void setRelease(long newValue)
updateAndGetupdateAndGet(updateFunction)long updateAndGet(LongUnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(expectedValue,newValue)boolean weakCompareAndSet(long expectedValue, long newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(expectedValue,newValue)boolean weakCompareAndSetAcquire(long expectedValue, long newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(expectedValue,newValue)boolean weakCompareAndSetPlain(long expectedValue, long newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(expectedValue,newValue)boolean weakCompareAndSetRelease(long expectedValue, long newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(expectedValue,newValue)boolean weakCompareAndSetVolatile(long expectedValue, long newValue)

The methods and fields of Number are inherited.

AtomicLongArray#

class · extends Object · java.util.concurrent.atomic.AtomicLongArray

Implements: Serializable

Constructors

new AtomicLongArray(int length)
new AtomicLongArray(long[] array)

Ring: new AtomicLongArray(args) uses the constructor with the fewest parameters (at least one); new AtomicLongArray makes the object with the constructor without parameters; the others: (new AtomicLongArray).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get(i)long get(int i)
accumulateAndGetaccumulateAndGet(i,x,accumulatorFunction)long accumulateAndGet(int i, long x, LongBinaryOperator accumulatorFunction)
addAndGetaddAndGet(i,delta)long addAndGet(int i, long delta)
compareAndExchangecompareAndExchange(i,expectedValue,newValue)long compareAndExchange(int i, long expectedValue, long newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(i,expectedValue,newValue)long compareAndExchangeAcquire(int i, long expectedValue, long newValue)
compareAndExchangeReleasecompareAndExchangeRelease(i,expectedValue,newValue)long compareAndExchangeRelease(int i, long expectedValue, long newValue)
compareAndSetcompareAndSet(i,expectedValue,newValue)boolean compareAndSet(int i, long expectedValue, long newValue)
decrementAndGetdecrementAndGet(i)long decrementAndGet(int i)
getAcquiregetAcquire(i)long getAcquire(int i)
getAndAccumulategetAndAccumulate(i,x,accumulatorFunction)long getAndAccumulate(int i, long x, LongBinaryOperator accumulatorFunction)
getAndAddgetAndAdd(i,delta)long getAndAdd(int i, long delta)
getAndDecrementgetAndDecrement(i)long getAndDecrement(int i)
getAndIncrementgetAndIncrement(i)long getAndIncrement(int i)
getAndSetgetAndSet(i,newValue)long getAndSet(int i, long newValue)
getAndUpdategetAndUpdate(i,updateFunction)long getAndUpdate(int i, LongUnaryOperator updateFunction)
getOpaquegetOpaque(i)long getOpaque(int i)
getPlaingetPlain(i)long getPlain(int i)
incrementAndGetincrementAndGet(i)long incrementAndGet(int i)
lazySetlazySet(i,newValue)void lazySet(int i, long newValue)
lengthlength()int length()
setset(i,newValue)void set(int i, long newValue)
setOpaquesetOpaque(i,newValue)void setOpaque(int i, long newValue)
setPlainsetPlain(i,newValue)void setPlain(int i, long newValue)
setReleasesetRelease(i,newValue)void setRelease(int i, long newValue)
updateAndGetupdateAndGet(i,updateFunction)long updateAndGet(int i, LongUnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(i,expectedValue,newValue)boolean weakCompareAndSet(int i, long expectedValue, long newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(i,expectedValue,newValue)boolean weakCompareAndSetAcquire(int i, long expectedValue, long newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(i,expectedValue,newValue)boolean weakCompareAndSetPlain(int i, long expectedValue, long newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(i,expectedValue,newValue)boolean weakCompareAndSetRelease(int i, long expectedValue, long newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(i,expectedValue,newValue)boolean weakCompareAndSetVolatile(int i, long expectedValue, long newValue)

The methods and fields of Object are inherited.

AtomicLongFieldUpdater#

abstract · extends Object · java.util.concurrent.atomic.AtomicLongFieldUpdater

Methods

MethodRing callJava overloads
@get@get(obj)long get(Object obj)
accumulateAndGetaccumulateAndGet(obj,x,accumulatorFunction)long accumulateAndGet(Object obj, long x, LongBinaryOperator accumulatorFunction)
addAndGetaddAndGet(obj,delta)long addAndGet(Object obj, long delta)
compareAndSetcompareAndSet(obj,expect,update)boolean compareAndSet(Object obj, long expect, long update)
decrementAndGetdecrementAndGet(obj)long decrementAndGet(Object obj)
getAndAccumulategetAndAccumulate(obj,x,accumulatorFunction)long getAndAccumulate(Object obj, long x, LongBinaryOperator accumulatorFunction)
getAndAddgetAndAdd(obj,delta)long getAndAdd(Object obj, long delta)
getAndDecrementgetAndDecrement(obj)long getAndDecrement(Object obj)
getAndIncrementgetAndIncrement(obj)long getAndIncrement(Object obj)
getAndSetgetAndSet(obj,newValue)long getAndSet(Object obj, long newValue)
getAndUpdategetAndUpdate(obj,updateFunction)long getAndUpdate(Object obj, LongUnaryOperator updateFunction)
incrementAndGetincrementAndGet(obj)long incrementAndGet(Object obj)
lazySetlazySet(obj,newValue)void lazySet(Object obj, long newValue)
newUpdaternewUpdater(tclass,fieldName)static AtomicLongFieldUpdater newUpdater(Class tclass, String fieldName)
setset(obj,newValue)void set(Object obj, long newValue)
updateAndGetupdateAndGet(obj,updateFunction)long updateAndGet(Object obj, LongUnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(obj,expect,update)boolean weakCompareAndSet(Object obj, long expect, long update)

The methods and fields of Object are inherited.

AtomicMarkableReference#

class · extends Object · java.util.concurrent.atomic.AtomicMarkableReference

Constructors

new AtomicMarkableReference(Object initialRef, boolean initialMark)

Ring: new AtomicMarkableReference(args) uses the constructor with the fewest parameters (at least one); new AtomicMarkableReference makes the object with the constructor without parameters; the others: (new AtomicMarkableReference).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get(markHolder)Object get(boolean[] markHolder)
attemptMarkattemptMark(expectedReference,newMark)boolean attemptMark(Object expectedReference, boolean newMark)
compareAndSetcompareAndSet(expectedReference,newReference,expectedMark,newMark)boolean compareAndSet(Object expectedReference, Object newReference, boolean expectedMark, boolean newMark)
getReferencegetReference()Object getReference()
isMarkedisMarked()boolean isMarked()
setset(newReference,newMark)void set(Object newReference, boolean newMark)
weakCompareAndSetweakCompareAndSet(expectedReference,newReference,expectedMark,newMark)boolean weakCompareAndSet(Object expectedReference, Object newReference, boolean expectedMark, boolean newMark)

The methods and fields of Object are inherited.

AtomicReference#

class · extends Object · java.util.concurrent.atomic.AtomicReference

Implements: Serializable

Constructors

new AtomicReference()
new AtomicReference(Object initialValue)

Ring: new AtomicReference(args) uses the constructor with the fewest parameters (at least one); new AtomicReference makes the object with the constructor without parameters; the others: (new AtomicReference).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get()Object get()
accumulateAndGetaccumulateAndGet(x,accumulatorFunction)Object accumulateAndGet(Object x, BinaryOperator accumulatorFunction)
compareAndExchangecompareAndExchange(expectedValue,newValue)Object compareAndExchange(Object expectedValue, Object newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(expectedValue,newValue)Object compareAndExchangeAcquire(Object expectedValue, Object newValue)
compareAndExchangeReleasecompareAndExchangeRelease(expectedValue,newValue)Object compareAndExchangeRelease(Object expectedValue, Object newValue)
compareAndSetcompareAndSet(expectedValue,newValue)boolean compareAndSet(Object expectedValue, Object newValue)
getAcquiregetAcquire()Object getAcquire()
getAndAccumulategetAndAccumulate(x,accumulatorFunction)Object getAndAccumulate(Object x, BinaryOperator accumulatorFunction)
getAndSetgetAndSet(newValue)Object getAndSet(Object newValue)
getAndUpdategetAndUpdate(updateFunction)Object getAndUpdate(UnaryOperator updateFunction)
getOpaquegetOpaque()Object getOpaque()
getPlaingetPlain()Object getPlain()
lazySetlazySet(newValue)void lazySet(Object newValue)
setset(newValue)void set(Object newValue)
setOpaquesetOpaque(newValue)void setOpaque(Object newValue)
setPlainsetPlain(newValue)void setPlain(Object newValue)
setReleasesetRelease(newValue)void setRelease(Object newValue)
updateAndGetupdateAndGet(updateFunction)Object updateAndGet(UnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(expectedValue,newValue)boolean weakCompareAndSet(Object expectedValue, Object newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(expectedValue,newValue)boolean weakCompareAndSetAcquire(Object expectedValue, Object newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(expectedValue,newValue)boolean weakCompareAndSetPlain(Object expectedValue, Object newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(expectedValue,newValue)boolean weakCompareAndSetRelease(Object expectedValue, Object newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(expectedValue,newValue)boolean weakCompareAndSetVolatile(Object expectedValue, Object newValue)

The methods and fields of Object are inherited.

AtomicReferenceArray#

class · extends Object · java.util.concurrent.atomic.AtomicReferenceArray

Implements: Serializable

Constructors

new AtomicReferenceArray(int length)
new AtomicReferenceArray(Object[] length)

Ring: new AtomicReferenceArray(args) uses the constructor with the fewest parameters (at least one); new AtomicReferenceArray makes the object with the constructor without parameters; the others: (new AtomicReferenceArray).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get(i)Object get(int i)
accumulateAndGetaccumulateAndGet(i,x,accumulatorFunction)Object accumulateAndGet(int i, Object x, BinaryOperator accumulatorFunction)
compareAndExchangecompareAndExchange(i,expectedValue,newValue)Object compareAndExchange(int i, Object expectedValue, Object newValue)
compareAndExchangeAcquirecompareAndExchangeAcquire(i,expectedValue,newValue)Object compareAndExchangeAcquire(int i, Object expectedValue, Object newValue)
compareAndExchangeReleasecompareAndExchangeRelease(i,expectedValue,newValue)Object compareAndExchangeRelease(int i, Object expectedValue, Object newValue)
compareAndSetcompareAndSet(i,expectedValue,newValue)boolean compareAndSet(int i, Object expectedValue, Object newValue)
getAcquiregetAcquire(i)Object getAcquire(int i)
getAndAccumulategetAndAccumulate(i,x,accumulatorFunction)Object getAndAccumulate(int i, Object x, BinaryOperator accumulatorFunction)
getAndSetgetAndSet(i,newValue)Object getAndSet(int i, Object newValue)
getAndUpdategetAndUpdate(i,updateFunction)Object getAndUpdate(int i, UnaryOperator updateFunction)
getOpaquegetOpaque(i)Object getOpaque(int i)
getPlaingetPlain(i)Object getPlain(int i)
lazySetlazySet(i,newValue)void lazySet(int i, Object newValue)
lengthlength()int length()
setset(i,newValue)void set(int i, Object newValue)
setOpaquesetOpaque(i,newValue)void setOpaque(int i, Object newValue)
setPlainsetPlain(i,newValue)void setPlain(int i, Object newValue)
setReleasesetRelease(i,newValue)void setRelease(int i, Object newValue)
updateAndGetupdateAndGet(i,updateFunction)Object updateAndGet(int i, UnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(i,expectedValue,newValue)boolean weakCompareAndSet(int i, Object expectedValue, Object newValue)
weakCompareAndSetAcquireweakCompareAndSetAcquire(i,expectedValue,newValue)boolean weakCompareAndSetAcquire(int i, Object expectedValue, Object newValue)
weakCompareAndSetPlainweakCompareAndSetPlain(i,expectedValue,newValue)boolean weakCompareAndSetPlain(int i, Object expectedValue, Object newValue)
weakCompareAndSetReleaseweakCompareAndSetRelease(i,expectedValue,newValue)boolean weakCompareAndSetRelease(int i, Object expectedValue, Object newValue)
weakCompareAndSetVolatileweakCompareAndSetVolatile(i,expectedValue,newValue)boolean weakCompareAndSetVolatile(int i, Object expectedValue, Object newValue)

The methods and fields of Object are inherited.

AtomicReferenceFieldUpdater#

abstract · extends Object · java.util.concurrent.atomic.AtomicReferenceFieldUpdater

Methods

MethodRing callJava overloads
@get@get(obj)Object get(Object obj)
accumulateAndGetaccumulateAndGet(obj,x,accumulatorFunction)Object accumulateAndGet(Object obj, Object x, BinaryOperator accumulatorFunction)
compareAndSetcompareAndSet(obj,expect,update)boolean compareAndSet(Object obj, Object expect, Object update)
getAndAccumulategetAndAccumulate(obj,x,accumulatorFunction)Object getAndAccumulate(Object obj, Object x, BinaryOperator accumulatorFunction)
getAndSetgetAndSet(obj,newValue)Object getAndSet(Object obj, Object newValue)
getAndUpdategetAndUpdate(obj,updateFunction)Object getAndUpdate(Object obj, UnaryOperator updateFunction)
lazySetlazySet(obj,newValue)void lazySet(Object obj, Object newValue)
newUpdaternewUpdater(tclass,vclass,fieldName)static AtomicReferenceFieldUpdater newUpdater(Class tclass, Class vclass, String fieldName)
setset(obj,newValue)void set(Object obj, Object newValue)
updateAndGetupdateAndGet(obj,updateFunction)Object updateAndGet(Object obj, UnaryOperator updateFunction)
weakCompareAndSetweakCompareAndSet(obj,expect,update)boolean weakCompareAndSet(Object obj, Object expect, Object update)

The methods and fields of Object are inherited.

AtomicStampedReference#

class · extends Object · java.util.concurrent.atomic.AtomicStampedReference

Constructors

new AtomicStampedReference(Object initialRef, int initialStamp)

Ring: new AtomicStampedReference(args) uses the constructor with the fewest parameters (at least one); new AtomicStampedReference makes the object with the constructor without parameters; the others: (new AtomicStampedReference).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get(stampHolder)Object get(int[] stampHolder)
attemptStampattemptStamp(expectedReference,newStamp)boolean attemptStamp(Object expectedReference, int newStamp)
compareAndSetcompareAndSet(expectedReference,newReference,expectedStamp,newStamp)boolean compareAndSet(Object expectedReference, Object newReference, int expectedStamp, int newStamp)
getReferencegetReference()Object getReference()
getStampgetStamp()int getStamp()
setset(newReference,newStamp)void set(Object newReference, int newStamp)
weakCompareAndSetweakCompareAndSet(expectedReference,newReference,expectedStamp,newStamp)boolean weakCompareAndSet(Object expectedReference, Object newReference, int expectedStamp, int newStamp)

The methods and fields of Object are inherited.

DoubleAccumulator#

class · extends Number · java.util.concurrent.atomic.DoubleAccumulator

Implements: Serializable

Constructors

new DoubleAccumulator(DoubleBinaryOperator accumulatorFunction, double identity)

Ring: new DoubleAccumulator(args) uses the constructor with the fewest parameters (at least one); new DoubleAccumulator makes the object with the constructor without parameters; the others: (new DoubleAccumulator).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get()double get()
accumulateaccumulate(x)void accumulate(double x)
getThenResetgetThenReset()double getThenReset()
resetreset()void reset()

The methods and fields of Number are inherited.

DoubleAdder#

class · extends Number · java.util.concurrent.atomic.DoubleAdder

Implements: Serializable

Constructors

new DoubleAdder()

Ring: new DoubleAdder(args) uses the constructor with the fewest parameters (at least one); new DoubleAdder makes the object with the constructor without parameters; the others: (new DoubleAdder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addadd(x)void add(double x)
resetreset()void reset()
sumsum()double sum()
sumThenResetsumThenReset()double sumThenReset()

The methods and fields of Number are inherited.

LongAccumulator#

class · extends Number · java.util.concurrent.atomic.LongAccumulator

Implements: Serializable

Constructors

new LongAccumulator(LongBinaryOperator accumulatorFunction, long identity)

Ring: new LongAccumulator(args) uses the constructor with the fewest parameters (at least one); new LongAccumulator makes the object with the constructor without parameters; the others: (new LongAccumulator).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get()long get()
accumulateaccumulate(x)void accumulate(long x)
getThenResetgetThenReset()long getThenReset()
resetreset()void reset()

The methods and fields of Number are inherited.

LongAdder#

class · extends Number · java.util.concurrent.atomic.LongAdder

Implements: Serializable

Constructors

new LongAdder()

Ring: new LongAdder(args) uses the constructor with the fewest parameters (at least one); new LongAdder makes the object with the constructor without parameters; the others: (new LongAdder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addadd(x)void add(long x)
decrementdecrement()void decrement()
incrementincrement()void increment()
resetreset()void reset()
sumsum()long sum()
sumThenResetsumThenReset()long sumThenReset()

The methods and fields of Number are inherited.

RingJava - use Java classes and methods from Ring programs.