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() |
protected String |
getTransactionId() |
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, wait
destroy, getName, getPartitionKey
public 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 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 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.