.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    CompareAndSetAsync Method

    CompareAndSetAsync(long, long)

    Compares the value for equality and, if equal, replaces the current value.

    Declaration
    Task<bool> CompareAndSetAsync(long comparand, long value)
    Parameters
    long comparand

    The value that is compared to the current value.

    long value

    The value that replaces the current value if the comparison results in equality.

    Returns
    Task<bool>

    The updated value.

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