IAtomicLong Interface
Namespace: Hazelcast.CP
Assembly: Hazelcast.Net.dll
Defines a redundant and highly-available distributed atomic long
.
public interface IAtomicLong : ICPDistributedObject, IDistributedObject, IAsyncDisposable
Methods
AddAndGetAsync(Int64) | Adds the specified value to the current value, and returns the updated value. |
CompareAndSetAsync(Int64, Int64) | Compares the value for equality and, if equal, replaces the current value. |
DecrementAndGetAsync() | Decrements the current value by one, and returns the updated value. |
GetAndAddAsync(Int64) | Adds the specified value to the current value, and returns the original value. |
GetAndDecrementAsync() | Decrements the current value by one, and returns the original value. |
GetAndIncrementAsync() | Increments the current value by one, and returns the original value. |
GetAndSetAsync(Int64) | Sets the current value, and returns the original value. |
GetAsync() | Gets the current value. |
IncrementAndGetAsync() | Increments the current value by one, and returns the updated value. |
SetAsync(Int64) | Sets the value. |