|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- keyV
- valuepublic interface TransactionalMultiMap<K,V>
Transactional implementation of BaseMultiMap
.
BaseMultiMap
,
MultiMap
Method Summary | |
---|---|
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 associated 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 the number of values matching the given key in the multimap. |
Methods inherited from interface com.hazelcast.core.DistributedObject |
---|
destroy, getId, getName, getPartitionKey, getServiceName |
Method Detail |
---|
boolean put(K key, V value)
put
in interface BaseMultiMap<K,V>
key
- the key to be storedvalue
- the value to be stored
Collection<V> get(K key)
get
in interface BaseMultiMap<K,V>
key
- the key whose associated values are returned
boolean 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 remove
Collection<V> remove(Object key)
remove
in interface BaseMultiMap<K,V>
key
- the key of the entries to remove
int valueCount(K key)
valueCount
in interface BaseMultiMap<K,V>
key
- the key whose number of values is to be returned
int size()
size
in interface BaseMultiMap<K,V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |