|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - V - public interface BaseMultiMap<K,V>
Base interface for Hazelcast distributed multi-maps.
MultiMap,
TransactionalMultiMap| 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 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. |
| Methods inherited from interface com.hazelcast.core.DistributedObject |
|---|
destroy, getId, getName, getPartitionKey, getServiceName |
| Method Detail |
|---|
boolean put(K key,
V value)
key - the key to be storedvalue - the value to be stored
Collection<V> get(K key)
key - the key whose associated values are to be returned
boolean remove(Object key,
Object value)
key - the key of the entry to removevalue - the value of the entry to remove
Collection<V> remove(Object key)
key - the key of the entries to remove
int valueCount(K key)
key - the key whose values count are to be returned
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||