K
- keyV
- valuepublic class ClientTxnMultiMapProxy<K,V> extends Object implements TransactionalMultiMap<K,V>
TransactionalMultiMap
Constructor and Description |
---|
ClientTxnMultiMapProxy(String name,
ClientTransactionContext transactionContext) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Collection<V> |
get(K key) |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
protected String |
getTransactionId() |
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, wait
destroy, getName, getPartitionKey
public 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>
TransactionException
public 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 getServiceName()
getServiceName
in interface DistributedObject
protected String getTransactionId()
public final void destroy()
destroy
in interface DistributedObject
public String getName()
getName
in interface DistributedObject
public String getPartitionKey()
getPartitionKey
in interface DistributedObject
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.