K - key typeV - value typepublic class STxMap<K,V> extends Object implements com.hazelcast.core.TransactionalMap<K,V>
| Constructor and Description |
|---|
STxMap(com.hazelcast.core.TransactionalMap<byte[],byte[]> baseMap,
org.onosproject.store.serializers.StoreSerializer serializer)
Creates a STxMap instance.
|
| 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()
Deprecated.
|
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
boolean |
isEmpty() |
Set<K> |
keySet() |
Set<K> |
keySet(com.hazelcast.query.Predicate predicate)
Deprecated.
|
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(com.hazelcast.query.Predicate predicate)
Deprecated.
|
public STxMap(com.hazelcast.core.TransactionalMap<byte[],byte[]> baseMap,
org.onosproject.store.serializers.StoreSerializer serializer)
baseMap - base IMap to useserializer - serializer to use for both key and valuepublic int size()
public boolean isEmpty()
@Deprecated public Object getId()
getId in interface com.hazelcast.core.DistributedObjectpublic String getPartitionKey()
getPartitionKey in interface com.hazelcast.core.DistributedObjectpublic String getName()
getName in interface com.hazelcast.core.DistributedObjectpublic String getServiceName()
getServiceName in interface com.hazelcast.core.DistributedObjectpublic void destroy()
destroy in interface com.hazelcast.core.DistributedObjectpublic boolean containsKey(Object key)
public void delete(Object key)
public Collection<V> values()
@Deprecated public Set<K> keySet(com.hazelcast.query.Predicate predicate)
@Deprecated public Collection<V> values(com.hazelcast.query.Predicate predicate)
Copyright © 2014. All rights reserved.