A specialized Concurrent, distributed map whose keys can be associated with multiple values.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax
Type Parameters
- TKey
- TValue
The IMultiMapTKey, TValue type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddEntryListener(IEntryListenerTKey, TValue, Boolean) | Adds an entry listener for this multimap. | |
AddEntryListener(IEntryListenerTKey, TValue, TKey, Boolean) | Adds the specified entry listener for the specified key. | |
Clear | Clears the multimap. | |
ContainsEntry | Returns whether the multimap contains the given key-value pair. | |
ContainsKey | Returns whether the multimap contains an entry with the key. | |
ContainsValue | Returns whether the multimap contains an entry with the value. | |
Destroy | Destroys this object cluster-wide. (Inherited from IDistributedObject.) | |
EntrySet | Returns the set of key-value pairs in the multimap. | |
ForceUnlock | Releases the lock for the specified key regardless of the lock owner. | |
Get | Returns the collection of values associated with the key. | |
GetName | Returns the unique name for this IDistributedObject. (Inherited from IDistributedObject.) | |
GetPartitionKey | Returns the key of partition this IDistributedObject is assigned to. (Inherited from IDistributedObject.) | |
GetServiceName | Returns the service name for this object. (Inherited from IDistributedObject.) | |
IsLocked | Checks the lock for the specified key. | |
KeySet | Returns the set of keys in the multimap. | |
Lock(TKey) | Acquires the lock for the specified key. | |
Lock(TKey, Int64, TimeUnit) | Acquires the lock for the specified key for the specified lease time. | |
Put | Stores a key-value pair in the multimap. | |
Remove(Object) | Removes all the entries with the given key. | |
Remove(Object, Object) | Removes the given key value pair from the multimap. | |
RemoveEntryListener |
Removes the specified entry listener
Returns silently if there is no such listener added before.
| |
Size | Returns the number of key-value pairs in the multimap. | |
TryLock(TKey) | Tries to acquire the lock for the specified key. | |
TryLock(TKey, Int64, TimeUnit) | Tries to acquire the lock for the specified key. | |
TryLock(TKey, Int64, TimeUnit, Int64, TimeUnit) | Tries to acquire the lock for the specified key for the specified lease time. | |
Unlock | Releases the lock for the specified key. | |
ValueCount | Returns number of values matching to given key in the multimap. | |
Values | Returns the collection of values in the multimap. |
See Also