| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - keyV - valuepublic interface TransactionalMap<K,V>
Transactional implementation of BaseMap.
BaseMap, 
IMap| Method Summary | |
|---|---|
|  boolean | containsKey(Object key)Transactional implementation of IMap.containsKey(Object). | 
|  void | delete(Object key)Transactional implementation of IMap.delete(Object). | 
|  V | get(Object key)Transactional implementation of IMap.get(Object). | 
|  V | getForUpdate(Object key)Locks the key and then gets and returns the value to which the specified key is mapped. | 
|  boolean | isEmpty()Transactional implementation of Map.isEmpty(). | 
|  Set<K> | keySet()Transactional implementation of IMap.keySet(). | 
|  Set<K> | keySet(Predicate predicate)Transactional implementation of IMap.keySet(com.hazelcast.query.Predicate). | 
|  V | put(K key,
    V value)Transactional implementation of IMap.put(Object, Object). | 
|  V | put(K key,
    V value,
    long ttl,
    TimeUnit timeunit)Transactional implementation of IMap.put(Object, Object, long, java.util.concurrent.TimeUnit). | 
|  V | putIfAbsent(K key,
            V value)Transactional implementation of IMap.putIfAbsent(Object, Object). | 
|  V | remove(Object key)Transactional implementation of IMap.remove(Object). | 
|  boolean | remove(Object key,
       Object value)Transactional implementation of IMap.remove(Object, Object). | 
|  V | replace(K key,
        V value)Transactional implementation of IMap.replace(Object, Object). | 
|  boolean | replace(K key,
        V oldValue,
        V newValue)Transactional implementation of IMap.replace(Object, Object, Object). | 
|  void | set(K key,
    V value)Transactional implementation of IMap.set(Object, Object). | 
|  int | size()Transactional implementation of Map.size(). | 
|  Collection<V> | values()Transactional implementation of IMap.values(). | 
|  Collection<V> | values(Predicate predicate)Transactional implementation of IMap.values(com.hazelcast.query.Predicate). | 
| Methods inherited from interface com.hazelcast.core.DistributedObject | 
|---|
| destroy, getId, getName, getPartitionKey, getServiceName | 
| Method Detail | 
|---|
boolean containsKey(Object key)
IMap.containsKey(Object).
containsKey in interface BaseMap<K,V>key - key
true if this map contains an entry for the specified keyIMap.containsKey(Object)V get(Object key)
IMap.get(Object).
get in interface BaseMap<K,V>key - key
IMap.get(Object)V getForUpdate(Object key)
IMap.get(Object)int size()
Map.size().
size in interface BaseMap<K,V>Map.size()boolean isEmpty()
Map.isEmpty().
isEmpty in interface BaseMap<K,V>Map.isEmpty()
V put(K key,
      V value)
IMap.put(Object, Object).
 
 The object to be put will be accessible only in the current transaction context till transaction is committed.
put in interface BaseMap<K,V>key - keyvalue - value
key or null
         if there was no mapping for key.IMap.put(Object, Object)
V put(K key,
      V value,
      long ttl,
      TimeUnit timeunit)
IMap.put(Object, Object, long, java.util.concurrent.TimeUnit).
 
 The object to be put will be accessible only in the current transaction context till transaction is committed.
IMap.put(Object, Object, long, java.util.concurrent.TimeUnit)
void set(K key,
         V value)
IMap.set(Object, Object).
 
 The object to be set will be accessible only in the current transaction context till transaction is committed.
set in interface BaseMap<K,V>key - keyvalue - valueIMap.set(Object, Object)
V putIfAbsent(K key,
              V value)
IMap.putIfAbsent(Object, Object).
 
 The object to be put will be accessible only in the current transaction context till transaction is committed.
putIfAbsent in interface BaseMap<K,V>key - keyvalue - value
key or null
         if there was no mapping for key.IMap.putIfAbsent(Object, Object)
V replace(K key,
          V value)
IMap.replace(Object, Object).
 
 The object to be replaced will be accessible only in the current transaction context till transaction is committed.
replace in interface BaseMap<K,V>key - keyvalue - value
key or null
         if there was no mapping for key.IMap.replace(Object, Object)
boolean replace(K key,
                V oldValue,
                V newValue)
IMap.replace(Object, Object, Object).
 
 The object to be replaced will be accessible only in the current transaction context till transaction is committed.
replace in interface BaseMap<K,V>key - keyoldValue - old valuenewValue - new value
true if the value was replacedIMap.replace(Object, Object, Object)V remove(Object key)
IMap.remove(Object).
 
 The object to be removed will be removed from only the current transaction context till transaction is committed.
remove in interface BaseMap<K,V>key - key
key or null
         if there was no mapping for key.IMap.remove(Object)void delete(Object key)
IMap.delete(Object).
 
 The object to be deleted will be removed from only the current transaction context till transaction is committed.
delete in interface BaseMap<K,V>key - keyIMap.delete(Object)
boolean remove(Object key,
               Object value)
IMap.remove(Object, Object).
 
 The object to be removed will be removed from only the current transaction context till transaction is committed.
remove in interface BaseMap<K,V>key - keyvalue - value
true if the value was removedIMap.remove(Object, Object)Set<K> keySet()
IMap.keySet().
 
IMap.keySet()Set<K> keySet(Predicate predicate)
IMap.keySet(com.hazelcast.query.Predicate) .
 
IMap.keySet(com.hazelcast.query.Predicate)Collection<V> values()
IMap.values().
 
IMap.values()Collection<V> values(Predicate predicate)
IMap.values(com.hazelcast.query.Predicate) .
 
IMap.values(com.hazelcast.query.Predicate)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||