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
Type Parameters
TKey | The type of keys in the map. |
TValue | The type of values in the map. |
Methods
Name | Description |
---|---|
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. |