public class TransactionalMultiMapProxy<K,V> extends TransactionalMultiMapProxySupport implements TransactionalMultiMap<K,V>
config, nametxPARTITIONING_STRATEGY| Constructor and Description | 
|---|
| TransactionalMultiMapProxy(NodeEngine nodeEngine,
                          MultiMapService service,
                          String name,
                          Transaction tx) | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<V> | get(K key)Returns the collection of values associated with the key. | 
| String | getName()Returns the unique name for this DistributedObject. | 
| 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. | 
| String | toString() | 
| int | valueCount(K key)Returns the number of values matching the given key in the multimap. | 
checkTransactionActive, getInternal, getServiceName, putInternal, removeAllInternal, removeInternal, size, valueCountInternaltoObjectIfNeededdestroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, postDestroy, preDestroy, throwNotActiveException, toDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitsizedestroy, getPartitionKey, getServiceNamepublic TransactionalMultiMapProxy(NodeEngine nodeEngine, MultiMapService service, String name, Transaction tx)
public String getName()
DistributedObjectDistributedObjectUtil.getName(DistributedObject)
 because this might be also a PrefixedDistributedObject.getName in interface DistributedObjectpublic boolean put(K key, V value) throws TransactionException
TransactionalMultiMapput in interface BaseMultiMap<K,V>put in interface TransactionalMultiMap<K,V>key - the key to be storedvalue - the value to be storedTransactionExceptionpublic Collection<V> get(K key)
TransactionalMultiMapget in interface BaseMultiMap<K,V>get in interface TransactionalMultiMap<K,V>key - the key whose associated values are returnedpublic boolean remove(Object key, Object value)
TransactionalMultiMapremove in interface BaseMultiMap<K,V>remove in interface TransactionalMultiMap<K,V>key - the key of the entry to removevalue - the value of the entry to removepublic Collection<V> remove(Object key)
TransactionalMultiMapremove in interface BaseMultiMap<K,V>remove in interface TransactionalMultiMap<K,V>key - the key of the entries to removepublic int valueCount(K key)
TransactionalMultiMapvalueCount in interface BaseMultiMap<K,V>valueCount in interface TransactionalMultiMap<K,V>key - the key whose number of values is to be returnedpublic String toString()
toString in class AbstractDistributedObject<MultiMapService>Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.