.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    ReplaceAsync Method

    ReplaceAsync(TKey, TValue)

    Transactional implementation of ReplaceAsync(TKey, TValue).

    Declaration
    Task<TValue> ReplaceAsync(TKey key, TValue newValue)
    Parameters
    TKey key

    A key.

    TValue newValue

    The new value.

    Returns
    Task<TValue>
    Remarks

    The updated entry wil be visible only in the current transaction context, until the transaction is committed.

    ReplaceAsync(TKey, TValue, TValue)

    Transactional implementation of ReplaceAsync(TKey, TValue, TValue).

    Declaration
    Task<bool> ReplaceAsync(TKey key, TValue oldValue, TValue newValue)
    Parameters
    TKey key
    TValue oldValue
    TValue newValue
    Returns
    Task<Boolean>
    Remarks

    The updated entry wil be visible only in the current transaction context, until the transaction is committed.

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