.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    IHMultiMap<TKey, TValue> Interface

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

    Represents a distributed map whose keys can be associated with multiple values.

    public interface IHMultiMap<TKey, TValue> : IDistributedObject, IAsyncDisposable, IKeyLockable<TKey>, IAsyncEnumerable<KeyValuePair<TKey, TValue>>
    Inherited Members
    IDistributedObject.ServiceName
    IDistributedObject.Name
    IDistributedObject.PartitionKey
    IDistributedObject.DestroyAsync()
    IAsyncDisposable.DisposeAsync()
    IKeyLockable<TKey>.LockAsync(TKey)
    IKeyLockable<TKey>.LockAsync(TKey, TimeSpan)
    IKeyLockable<TKey>.TryLockAsync(TKey)
    IKeyLockable<TKey>.TryLockAsync(TKey, TimeSpan)
    IKeyLockable<TKey>.TryLockAsync(TKey, TimeSpan, TimeSpan)
    IKeyLockable<TKey>.IsLockedAsync(TKey)
    IKeyLockable<TKey>.UnlockAsync(TKey)
    IKeyLockable<TKey>.ForceUnlockAsync(TKey)
    IAsyncEnumerable<KeyValuePair<TKey, TValue>>.GetAsyncEnumerator(CancellationToken)
    Type Parameters
    TKey
    TValue
    Remarks

    IHMultiMap can be configured on Server side to allow duplicate values or not for its values collection

    Methods

    ClearAsync()

    Clears the multi-map. Removes all key-value pairs.

    ContainsEntryAsync(TKey, TValue)

    Returns whether the multi-map contains the given key-value pair.

    ContainsKeyAsync(TKey)

    Returns whether the multi-map contains an entry with the key.

    ContainsValueAsync(TValue)

    Returns whether the multi-map contains an entry with the value.

    DeleteAsync(TKey)

    Removes all the entries with the given key.

    GetAsync(TKey)

    Returns the collection of values associated with the key.

    GetEntriesAsync()

    Returns the set of key-value pairs in the multi-map.

    GetKeysAsync()

    Returns the set of keys in the multi-map.

    GetSizeAsync()

    Returns the number of key-value pairs in the multi-map.

    GetValueCountAsync(TKey)

    Returns number of values matching to given key in the multi-map.

    GetValuesAsync()

    Returns the collection of values in the multi-map.

    PutAsync(TKey, TValue)

    Stores a key-value pair in the multi-map.

    RemoveAsync(TKey)

    Removes all the entries with the given key.

    RemoveAsync(TKey, TValue)

    Removes the given key value pair from the multi-map.

    SubscribeAsync(Action<MultiMapEventHandlers<TKey, TValue>>, TKey, Boolean, Object)

    Subscribes to events.

    SubscribeAsync(Action<MultiMapEventHandlers<TKey, TValue>>, Boolean, Object)

    Subscribes to events.

    UnsubscribeAsync(Guid)

    Unsubscribe from events.

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