| Package | Description |
|---|---|
| org.apache.curator.framework.recipes.atomic |
| Modifier and Type | Method | Description |
|---|---|---|
AtomicValue<java.lang.Integer> |
DistributedAtomicInteger.add(java.lang.Integer delta) |
Add delta to the current value and return the new value information.
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.add(java.lang.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<java.lang.Integer> |
DistributedAtomicInteger.compareAndSet(java.lang.Integer expectedValue,
java.lang.Integer newValue) |
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.compareAndSet(java.lang.Long expectedValue,
java.lang.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<byte[]> |
DistributedAtomicValue.compareAndSet(byte[] expectedValue,
byte[] newValue) |
Atomically sets the value to the given updated value
if the current value
== the expected value. |
AtomicValue<java.lang.Integer> |
DistributedAtomicInteger.decrement() |
Subtract 1 from the current value and return the new value information.
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.decrement() |
Subtract 1 from the current value and return the new value information.
|
AtomicValue<T> |
DistributedAtomicNumber.decrement() |
Subtract 1 from the current value and return the new value information.
|
AtomicValue<java.lang.Integer> |
DistributedAtomicInteger.get() |
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.get() |
|
AtomicValue<T> |
DistributedAtomicNumber.get() |
Returns the current value of the counter.
|
AtomicValue<byte[]> |
DistributedAtomicValue.get() |
Returns the current value of the counter.
|
AtomicValue<java.lang.Integer> |
DistributedAtomicInteger.increment() |
Add 1 to the current value and return the new value information.
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.increment() |
Add 1 to the current value and return the new value information.
|
AtomicValue<T> |
DistributedAtomicNumber.increment() |
Add 1 to the current value and return the new value information.
|
AtomicValue<java.lang.Integer> |
CachedAtomicInteger.next() |
Returns the next value (incrementing by 1).
|
AtomicValue<java.lang.Long> |
CachedAtomicLong.next() |
Returns the next value (incrementing by 1).
|
AtomicValue<java.lang.Integer> |
DistributedAtomicInteger.subtract(java.lang.Integer delta) |
Subtract delta from the current value and return the new value information.
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.subtract(java.lang.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<java.lang.Integer> |
DistributedAtomicInteger.trySet(java.lang.Integer newValue) |
|
AtomicValue<java.lang.Long> |
DistributedAtomicLong.trySet(java.lang.Long newValue) |
|
AtomicValue<T> |
DistributedAtomicNumber.trySet(T newValue) |
Attempt to atomically set the value to the given value.
|
AtomicValue<byte[]> |
DistributedAtomicValue.trySet(byte[] newValue) |
Attempt to atomically set the value to the given value.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.