.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    IHMapBase<TKey, TValue> Interface

    Namespace: Hazelcast.DistributedObjects
    Assembly: Hazelcast.Net.dll

    Defines the base interface for various Hazelcast distributed dictionaries.

    public interface IHMapBase<TKey, TValue> : IDistributedObject, IAsyncDisposable, IAsyncEnumerable<KeyValuePair<TKey, TValue>>
    Inherited Members
    IDistributedObject.ServiceName
    IDistributedObject.Name
    IDistributedObject.PartitionKey
    IDistributedObject.DestroyAsync()
    IAsyncDisposable.DisposeAsync()
    IAsyncEnumerable<KeyValuePair<TKey, TValue>>.GetAsyncEnumerator(CancellationToken)
    Type Parameters
    TKey

    The type of keys in the map.

    TValue

    The type of values in the map.

    Methods

    ClearAsync()

    Clears the map by deleting all entries.

    ContainsKeyAsync(TKey)

    Determines whether this map contains an entry for the specified key.

    ContainsValueAsync(TValue)

    Determines whether this map contains one or more keys to the specified value.

    GetAsync(TKey)

    Gets the value for the specified key.

    GetEntriesAsync()

    Gets a IReadOnlyDictionary<TKey,TValue> of the entries contained in this map.

    GetKeysAsync()

    Gets a IReadOnlyCollection<T> of the keys contained in this map.

    GetSizeAsync()

    Gets the number of entries contained in this map.

    GetValuesAsync()

    Gets a IReadOnlyCollection<T> of the values contained in this map.

    IsEmptyAsync()

    Determines whether this map contains no entries.

    PutAsync(TKey, TValue)

    Sets (adds or updates) an entry, and returns the previous value, if any.

    PutAsync(TKey, TValue, TimeSpan)
    RemoveAsync(TKey)

    Removes an entry, and returns the removed value, if any.

    SetAllAsync(IDictionary<TKey, TValue>)

    Sets (adds or updates) entries.

    See Also

    IHMap<TKey, TValue>
    IHReplicatedMap<TKey, TValue>
    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.