IAtomicLong Interface
Namespace: Hazelcast.CP
Assembly: Hazelcast.Net.dll
Defines a redundant and highly-available distributed atomic long.
public interface IAtomicLong : ICPDistributedObject, IDistributedObject, IAsyncDisposable
  Inherited Members
Methods
| Name | Description | 
|---|---|
| AddAndGetAsync(long) | Adds the specified value to the current value, and returns the updated value.  | 
      
| CompareAndSetAsync(long, long) | 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(long) | 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(long) | 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(long) | Sets the value.  |