|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AtomicValue | |
|---|---|
| org.apache.curator.framework.recipes.atomic | |
| Uses of AtomicValue in org.apache.curator.framework.recipes.atomic |
|---|
| Methods in org.apache.curator.framework.recipes.atomic that return AtomicValue | |
|---|---|
AtomicValue<Integer> |
DistributedAtomicInteger.add(Integer delta)
Add delta to the current value and return the new value information. |
AtomicValue<Long> |
DistributedAtomicLong.add(Long delta)
Add delta to the current value and return the new value information. |
AtomicValue<T> |
DistributedAtomicNumber.add(T delta)
Add delta to the current value and return the new value information. |
AtomicValue<byte[]> |
DistributedAtomicValue.compareAndSet(byte[] expectedValue,
byte[] newValue)
Atomically sets the value to the given updated value if the current value == the expected value. |
AtomicValue<Integer> |
DistributedAtomicInteger.compareAndSet(Integer expectedValue,
Integer newValue)
|
AtomicValue<Long> |
DistributedAtomicLong.compareAndSet(Long expectedValue,
Long newValue)
|
AtomicValue<T> |
DistributedAtomicNumber.compareAndSet(T expectedValue,
T newValue)
Atomically sets the value to the given updated value if the current value == the expected value. |
AtomicValue<T> |
DistributedAtomicNumber.decrement()
Subtract 1 from the current value and return the new value information. |
AtomicValue<Long> |
DistributedAtomicLong.decrement()
Subtract 1 from the current value and return the new value information. |
AtomicValue<Integer> |
DistributedAtomicInteger.decrement()
Subtract 1 from the current value and return the new value information. |
AtomicValue<byte[]> |
DistributedAtomicValue.get()
Returns the current value of the counter. |
AtomicValue<T> |
DistributedAtomicNumber.get()
Returns the current value of the counter. |
AtomicValue<Long> |
DistributedAtomicLong.get()
|
AtomicValue<Integer> |
DistributedAtomicInteger.get()
|
AtomicValue<T> |
DistributedAtomicNumber.increment()
Add 1 to the current value and return the new value information. |
AtomicValue<Long> |
DistributedAtomicLong.increment()
Add 1 to the current value and return the new value information. |
AtomicValue<Integer> |
DistributedAtomicInteger.increment()
Add 1 to the current value and return the new value information. |
AtomicValue<Long> |
CachedAtomicLong.next()
Returns the next value (incrementing by 1). |
AtomicValue<Integer> |
CachedAtomicInteger.next()
Returns the next value (incrementing by 1). |
AtomicValue<Integer> |
DistributedAtomicInteger.subtract(Integer delta)
Subtract delta from the current value and return the new value information. |
AtomicValue<Long> |
DistributedAtomicLong.subtract(Long delta)
Subtract delta from the current value and return the new value information. |
AtomicValue<T> |
DistributedAtomicNumber.subtract(T delta)
Subtract delta from the current value and return the new value information. |
AtomicValue<byte[]> |
DistributedAtomicValue.trySet(byte[] newValue)
Attempt to atomically set the value to the given value. |
AtomicValue<Integer> |
DistributedAtomicInteger.trySet(Integer newValue)
|
AtomicValue<Long> |
DistributedAtomicLong.trySet(Long newValue)
|
AtomicValue<T> |
DistributedAtomicNumber.trySet(T newValue)
Attempt to atomically set the value to the given value. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||