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
Type Parameters
| TKey | |
| TValue | 
Remarks
IHMultiMap can be configured on Server side to allow duplicate values or not for its values collection
Methods
| Name | Description | 
|---|---|
| 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>>, bool, object) | Subscribes to events.  | 
      
| SubscribeAsync(Action<MultiMapEventHandlers<TKey, TValue>>, TKey, bool, object) | Subscribes to events.  | 
      
| UnsubscribeAsync(Guid) | Unsubscribe from events.  |