com.hazelcast.client.txn.proxy
Class ClientTxnMultiMapProxy<K,V>
java.lang.Object
com.hazelcast.client.txn.proxy.ClientTxnMultiMapProxy<K,V>
- All Implemented Interfaces:
- BaseMultiMap<K,V>, DistributedObject, TransactionalMultiMap<K,V>, TransactionalObject
public class ClientTxnMultiMapProxy<K,V>
- extends Object
- implements TransactionalMultiMap<K,V>
- Author:
- ali 6/10/13
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientTxnMultiMapProxy
public ClientTxnMultiMapProxy(String name,
TransactionContextProxy proxy)
put
public boolean put(K key,
V value)
throws TransactionException
- Specified by:
put in interface BaseMultiMap<K,V>- Specified by:
put in interface TransactionalMultiMap<K,V>
- Throws:
TransactionException
get
public Collection<V> get(K key)
- Specified by:
get in interface BaseMultiMap<K,V>- Specified by:
get in interface TransactionalMultiMap<K,V>
remove
public boolean remove(Object key,
Object value)
- Specified by:
remove in interface BaseMultiMap<K,V>- Specified by:
remove in interface TransactionalMultiMap<K,V>
remove
public Collection<V> remove(Object key)
- Specified by:
remove in interface BaseMultiMap<K,V>- Specified by:
remove in interface TransactionalMultiMap<K,V>
valueCount
public int valueCount(K key)
- Specified by:
valueCount in interface BaseMultiMap<K,V>- Specified by:
valueCount in interface TransactionalMultiMap<K,V>
size
public int size()
- Specified by:
size in interface BaseMultiMap<K,V>- Specified by:
size in interface TransactionalMultiMap<K,V>
getName
public String getName()
- Specified by:
getName in interface DistributedObject
getServiceName
public String getServiceName()
- Specified by:
getServiceName in interface DistributedObject
destroy
public final void destroy()
- Specified by:
destroy in interface DistributedObject
getId
public Object getId()
- Specified by:
getId in interface DistributedObject
getPartitionKey
public String getPartitionKey()
- Specified by:
getPartitionKey in interface DistributedObject
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.