IMultiMapTKey, TValue InterfaceHazelcast .Net Client Class Library
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.8.2
Syntax

public interface IMultiMap<TKey, TValue> : IDistributedObject

Type Parameters

TKey
TValue

The IMultiMapTKey, TValue type exposes the following members.

Methods

  NameDescription
Public methodAddEntryListener(IEntryListenerTKey, TValue, Boolean)
Adds an entry listener for this multimap.
Public methodAddEntryListener(IEntryListenerTKey, TValue, TKey, Boolean)
Adds the specified entry listener for the specified key.
Public methodClear
Clears the multimap.
Public methodContainsEntry
Returns whether the multimap contains the given key-value pair.
Public methodContainsKey
Returns whether the multimap contains an entry with the key.
Public methodContainsValue
Returns whether the multimap contains an entry with the value.
Public methodDestroy
Destroys this object cluster-wide.
(Inherited from IDistributedObject.)
Public methodEntrySet
Returns the set of key-value pairs in the multimap.
Public methodForceUnlock
Releases the lock for the specified key regardless of the lock owner.
Public methodGet
Returns the collection of values associated with the key.
Public methodGetName
Returns the unique name for this IDistributedObject.
(Inherited from IDistributedObject.)
Public methodGetPartitionKey
Returns the key of partition this IDistributedObject is assigned to.
(Inherited from IDistributedObject.)
Public methodGetServiceName
Returns the service name for this object.
(Inherited from IDistributedObject.)
Public methodIsLocked
Checks the lock for the specified key.
Public methodKeySet
Returns the set of keys in the multimap.
Public methodLock(TKey)
Acquires the lock for the specified key.
Public methodLock(TKey, Int64, TimeUnit)
Acquires the lock for the specified key for the specified lease time.
Public methodPut
Stores a key-value pair in the multimap.
Public methodRemove(Object)
Removes all the entries with the given key.
Public methodRemove(Object, Object)
Removes the given key value pair from the multimap.
Public methodRemoveEntryListener
Removes the specified entry listener Returns silently if there is no such listener added before.
Public methodSize
Returns the number of key-value pairs in the multimap.
Public methodTryLock(TKey)
Tries to acquire the lock for the specified key.
Public methodTryLock(TKey, Int64, TimeUnit)
Tries to acquire the lock for the specified key.
Public methodTryLock(TKey, Int64, TimeUnit, Int64, TimeUnit)
Tries to acquire the lock for the specified key for the specified lease time.
Public methodUnlock
Releases the lock for the specified key.
Public methodValueCount
Returns number of values matching to given key in the multimap.
Public methodValues
Returns the collection of values in the multimap.
Top
See Also

Reference