.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    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
    ICPDistributedObject.GroupId
    IDistributedObject.ServiceName
    IDistributedObject.Name
    IDistributedObject.PartitionKey
    IDistributedObject.DestroyAsync()
    IAsyncDisposable.DisposeAsync()

    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.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.