K - keyV - valuepublic class ClientTxnMapProxy<K,V> extends Object implements TransactionalMap<K,V>
TransactionalMap interface.| Constructor and Description |
|---|
ClientTxnMapProxy(String name,
ClientTransactionContext transactionContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
void |
delete(Object key) |
void |
destroy() |
V |
get(Object key) |
V |
getForUpdate(Object key) |
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, getName, getPartitionKeypublic ClientTxnMapProxy(String name, ClientTransactionContext transactionContext)
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 putIfAbsent(K key, V value)
putIfAbsent in interface BaseMap<K,V>putIfAbsent in interface TransactionalMap<K,V>public void delete(Object key)
public Collection<V> values()
public Collection<V> values(Predicate predicate)
public String getServiceName()
getServiceName in interface DistributedObjectpublic String getName()
getName in interface DistributedObjectpublic String getPartitionKey()
getPartitionKey in interface DistributedObjectpublic final void destroy()
destroy in interface DistributedObjectCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.