com.hazelcast.client.txn.proxy
Class ClientTxnMultiMapProxy<K,V>

java.lang.Object
  extended by 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

Constructor Summary
ClientTxnMultiMapProxy(String name, TransactionContextProxy proxy)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getId, getPartitionKey
 

Constructor Detail

ClientTxnMultiMapProxy

public ClientTxnMultiMapProxy(String name,
                              TransactionContextProxy proxy)
Method Detail

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.