K - keyV - valuepublic interface TransactionalMultiMap<K,V> extends BaseMultiMap<K,V>, TransactionalObject
BaseMultiMap.BaseMultiMap, 
MultiMap| Modifier and Type | Method and Description | 
|---|---|
Collection<V> | 
get(K key)
Returns the collection of values associated with the key. 
 | 
boolean | 
put(K key,
   V value)
Stores a key-value pair in the multimap. 
 | 
Collection<V> | 
remove(Object key)
Removes all the entries with the given key. 
 | 
boolean | 
remove(Object key,
      Object value)
Removes the given key value pair from the multimap. 
 | 
int | 
size()
Returns the number of key-value pairs in the multimap. 
 | 
int | 
valueCount(K key)
Returns number of values matching to given key in the multimap. 
 | 
destroy, getId, getName, getPartitionKey, getServiceNameboolean put(K key, V value)
put in interface BaseMultiMap<K,V>key - the key to be storedvalue - the value to be storedCollection<V> get(K key)
get in interface BaseMultiMap<K,V>key - the key whose associated values are to be returnedboolean remove(Object key, Object value)
remove in interface BaseMultiMap<K,V>key - the key of the entry to removevalue - the value of the entry to removeCollection<V> remove(Object key)
remove in interface BaseMultiMap<K,V>key - the key of the entries to removeint valueCount(K key)
valueCount in interface BaseMultiMap<K,V>key - the key whose values count are to be returnedint size()
size in interface BaseMultiMap<K,V>Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.