Uses of Interface
org.apache.curator.framework.recipes.atomic.AtomicValue
Packages that use AtomicValue
-
Uses of AtomicValue in org.apache.curator.framework.recipes.atomic
Methods in org.apache.curator.framework.recipes.atomic that return AtomicValueModifier and TypeMethodDescriptionAdd delta to the current value and return the new value information.Add delta to the current value and return the new value information.Add delta to the current value and return the new value information.DistributedAtomicInteger.compareAndSet
(Integer expectedValue, Integer newValue) DistributedAtomicLong.compareAndSet
(Long expectedValue, Long newValue) 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.DistributedAtomicInteger.decrement()
Subtract 1 from the current value and return the new value information.DistributedAtomicLong.decrement()
Subtract 1 from the current value and return the new value information.DistributedAtomicNumber.decrement()
Subtract 1 from the current value and return the new value information.DistributedAtomicInteger.get()
DistributedAtomicLong.get()
DistributedAtomicNumber.get()
Returns the current value of the counter.AtomicValue
<byte[]> DistributedAtomicValue.get()
Returns the current value of the counter.DistributedAtomicInteger.increment()
Add 1 to the current value and return the new value information.DistributedAtomicLong.increment()
Add 1 to the current value and return the new value information.DistributedAtomicNumber.increment()
Add 1 to the current value and return the new value information.CachedAtomicInteger.next()
Returns the next value (incrementing by 1).CachedAtomicLong.next()
Returns the next value (incrementing by 1).Subtract delta from the current value and return the new value information.Subtract delta from the current value and return the new value information.Subtract delta from the current value and return the new value information.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.