public class TransactionalMultiMapProxy<K,V> extends TransactionalMultiMapProxySupport<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. 
 | 
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. 
 | 
getName, getServiceName, sizetoObjectIfNeededdestroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, isClusterVersionEqualTo, isClusterVersionGreaterOrEqual, isClusterVersionGreaterThan, isClusterVersionLessOrEqual, isClusterVersionLessThan, isClusterVersionUnknown, isClusterVersionUnknownOrGreaterOrEqual, isClusterVersionUnknownOrGreaterThan, isClusterVersionUnknownOrLessOrEqual, isClusterVersionUnknownOrLessThan, postDestroy, preDestroy, throwNotActiveException, toDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getPartitionKeypublic TransactionalMultiMapProxy(NodeEngine nodeEngine, MultiMapService service, String name, Transaction tx)
public boolean put(K key, V value) throws TransactionException
TransactionalMultiMapkey - the key to be storedvalue - the value to be storedTransactionExceptionpublic Collection<V> get(K key)
TransactionalMultiMapkey - the key whose associated values are returnedpublic boolean remove(Object key, Object value)
TransactionalMultiMapkey - the key of the entry to removevalue - the value of the entry to removepublic Collection<V> remove(Object key)
TransactionalMultiMapkey - the key of the entries to removepublic int valueCount(K key)
TransactionalMultiMapkey - the key whose number of values is to be returnedpublic String toString()
toString in class AbstractDistributedObject<MultiMapService>Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.