public class ClientTxnMapProxy<K,V> extends Object implements TransactionalMap<K,V>
| Constructor and Description |
|---|
ClientTxnMapProxy(String name,
TransactionContextProxy proxy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
void |
delete(Object key) |
void |
destroy() |
V |
get(Object key) |
V |
getForUpdate(Object key) |
Object |
getId() |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
boolean |
isEmpty() |
Set<K> |
keySet() |
Set<K> |
keySet(Predicate predicate) |
V |
put(K key,
V value) |
V |
put(K key,
V value,
long ttl,
TimeUnit timeunit) |
V |
putIfAbsent(K key,
V value) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
void |
set(K key,
V value) |
int |
size() |
Collection<V> |
values() |
Collection<V> |
values(Predicate predicate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getId, getPartitionKeypublic ClientTxnMapProxy(String name, TransactionContextProxy proxy)
public boolean containsKey(Object key)
containsKey in interface BaseMap<K,V>containsKey in interface TransactionalMap<K,V>public V getForUpdate(Object key)
getForUpdate in interface TransactionalMap<K,V>public int size()
public boolean isEmpty()
public V put(K key, V value, long ttl, TimeUnit timeunit)
put in interface TransactionalMap<K,V>public V putIfAbsent(K key, V value)
putIfAbsent in interface BaseMap<K,V>putIfAbsent in interface TransactionalMap<K,V>public void delete(Object key)
public Set<K> keySet(Predicate predicate)
keySet in interface TransactionalMap<K,V>public Collection<V> values()
values in interface TransactionalMap<K,V>public Collection<V> values(Predicate predicate)
values in interface TransactionalMap<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 © 2014 Hazelcast, Inc.. All Rights Reserved.