public class ClientTxnMultiMapProxy<K,V> extends Object implements TransactionalMultiMap<K,V>
| Constructor and Description |
|---|
ClientTxnMultiMapProxy(String name,
ClientTransactionContext transactionContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Collection<V> |
get(K key) |
Object |
getId() |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
boolean |
put(K key,
V value) |
Collection<V> |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
int |
size() |
int |
valueCount(K key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getId, getPartitionKeypublic ClientTxnMultiMapProxy(String name, ClientTransactionContext transactionContext)
public boolean put(K key, V value) throws TransactionException
put in interface BaseMultiMap<K,V>put in interface TransactionalMultiMap<K,V>TransactionExceptionpublic Collection<V> get(K key)
get in interface BaseMultiMap<K,V>get in interface TransactionalMultiMap<K,V>public boolean remove(Object key, Object value)
remove in interface BaseMultiMap<K,V>remove in interface TransactionalMultiMap<K,V>public Collection<V> remove(Object key)
remove in interface BaseMultiMap<K,V>remove in interface TransactionalMultiMap<K,V>public int valueCount(K key)
valueCount in interface BaseMultiMap<K,V>valueCount in interface TransactionalMultiMap<K,V>public int size()
size in interface BaseMultiMap<K,V>size in interface TransactionalMultiMap<K,V>public String getName()
getName in interface DistributedObjectpublic String getServiceName()
getServiceName in interface DistributedObjectpublic final void destroy()
destroy in interface DistributedObjectpublic Object getId()
getId in interface DistributedObjectpublic String getPartitionKey()
getPartitionKey in interface DistributedObjectCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.