K - key typeV - value typepublic class SMap<K,V> extends Object implements com.hazelcast.core.IMap<K,V>
| Constructor and Description |
|---|
SMap(com.hazelcast.core.IMap<byte[],byte[]> baseMap,
org.onosproject.store.serializers.StoreSerializer serializer)
Creates a SMap instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
boolean includeValue) |
String |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
K key,
boolean includeValue) |
String |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue)
Deprecated.
not implemented yet
|
String |
addEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
com.hazelcast.query.Predicate<K,V> predicate,
K key,
boolean includeValue)
Deprecated.
not implemented yet
|
void |
addIndex(String attribute,
boolean ordered)
Deprecated.
not implemented yet
|
String |
addInterceptor(com.hazelcast.map.MapInterceptor interceptor)
Deprecated.
not implemented yet
|
String |
addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener) |
String |
addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
com.hazelcast.query.Predicate<K,V> predicate,
boolean includeValue)
Deprecated.
not implemented yet
|
String |
addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener,
com.hazelcast.query.Predicate<K,V> predicate,
K key,
boolean includeValue)
Deprecated.
not implemented yet
|
<SuppliedValue,Result> |
aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier,
com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation)
Deprecated.
not implemented yet
|
<SuppliedValue,Result> |
aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier,
com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation,
com.hazelcast.mapreduce.JobTracker jobTracker)
Deprecated.
not implemented yet
|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
delete(Object key) |
void |
destroy() |
Set<Map.Entry<K,V>> |
entrySet() |
Set<Map.Entry<K,V>> |
entrySet(com.hazelcast.query.Predicate predicate)
Deprecated.
not implemented yet
|
boolean |
evict(K key) |
void |
evictAll() |
Map<K,Object> |
executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor)
Deprecated.
not implemented yet
|
Map<K,Object> |
executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor,
com.hazelcast.query.Predicate predicate)
Deprecated.
not implemented yet
|
Object |
executeOnKey(K key,
com.hazelcast.map.EntryProcessor entryProcessor)
Deprecated.
not implemented yet
|
Map<K,Object> |
executeOnKeys(Set<K> keys,
com.hazelcast.map.EntryProcessor entryProcessor)
Deprecated.
not implemented yet
|
void |
flush() |
void |
forceUnlock(K key) |
V |
get(Object key) |
Map<K,V> |
getAll(Set<K> keys) |
Future<V> |
getAsync(K key) |
com.hazelcast.core.EntryView<K,V> |
getEntryView(K key)
Deprecated.
not implemented yet
|
Object |
getId()
Deprecated.
|
com.hazelcast.monitor.LocalMapStats |
getLocalMapStats() |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
boolean |
isEmpty() |
boolean |
isLocked(K key) |
Set<K> |
keySet() |
Set<K> |
keySet(com.hazelcast.query.Predicate predicate)
Deprecated.
not implemented yet
|
void |
loadAll(boolean replaceExistingValues) |
void |
loadAll(Set<K> keys,
boolean replaceExistingValues) |
Set<K> |
localKeySet() |
Set<K> |
localKeySet(com.hazelcast.query.Predicate predicate)
Deprecated.
not implemented yet
|
void |
lock(K key) |
void |
lock(K key,
long leaseTime,
TimeUnit timeUnit) |
V |
put(K key,
V value) |
V |
put(K key,
V value,
long ttl,
TimeUnit timeunit) |
void |
putAll(Map<? extends K,? extends V> map) |
Future<V> |
putAsync(K key,
V value) |
Future<V> |
putAsync(K key,
V value,
long ttl,
TimeUnit timeunit) |
V |
putIfAbsent(K key,
V value) |
V |
putIfAbsent(K key,
V value,
long ttl,
TimeUnit timeunit) |
void |
putTransient(K key,
V value,
long ttl,
TimeUnit timeunit) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
Future<V> |
removeAsync(K key) |
boolean |
removeEntryListener(String id) |
void |
removeInterceptor(String id) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
void |
set(K key,
V value) |
void |
set(K key,
V value,
long ttl,
TimeUnit timeunit) |
int |
size() |
Future |
submitToKey(K key,
com.hazelcast.map.EntryProcessor entryProcessor)
Deprecated.
not implemented yet
|
void |
submitToKey(K key,
com.hazelcast.map.EntryProcessor entryProcessor,
com.hazelcast.core.ExecutionCallback callback)
Deprecated.
not implemented yet
|
boolean |
tryLock(K key) |
boolean |
tryLock(K key,
long time,
TimeUnit timeunit) |
boolean |
tryPut(K key,
V value,
long timeout,
TimeUnit timeunit) |
boolean |
tryRemove(K key,
long timeout,
TimeUnit timeunit) |
void |
unlock(K key) |
Collection<V> |
values() |
Collection<V> |
values(com.hazelcast.query.Predicate predicate)
Deprecated.
not implemented yet
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic SMap(com.hazelcast.core.IMap<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 boolean containsValue(Object value)
public void delete(Object key)
public void loadAll(boolean replaceExistingValues)
public void clear()
public V putIfAbsent(K key, V value)
putIfAbsent in interface com.hazelcast.core.BaseMap<K,V>putIfAbsent in interface com.hazelcast.core.IMap<K,V>putIfAbsent in interface ConcurrentMap<K,V>putIfAbsent in interface Map<K,V>public boolean isLocked(K key)
public boolean tryLock(K key)
public boolean tryLock(K key, long time, TimeUnit timeunit) throws InterruptedException
tryLock in interface com.hazelcast.core.IMap<K,V>InterruptedExceptionpublic void forceUnlock(K key)
public String addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener)
@Deprecated public String addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
addLocalEntryListener in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public String addLocalEntryListener(com.hazelcast.core.EntryListener<K,V> listener, com.hazelcast.query.Predicate<K,V> predicate, K key, boolean includeValue)
addLocalEntryListener in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public String addInterceptor(com.hazelcast.map.MapInterceptor interceptor)
addInterceptor in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yetpublic void removeInterceptor(String id)
public String addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, boolean includeValue)
public boolean removeEntryListener(String id)
public String addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, K key, boolean includeValue)
@Deprecated public String addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, com.hazelcast.query.Predicate<K,V> predicate, boolean includeValue)
addEntryListener in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public String addEntryListener(com.hazelcast.core.EntryListener<K,V> listener, com.hazelcast.query.Predicate<K,V> predicate, K key, boolean includeValue)
addEntryListener in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public com.hazelcast.core.EntryView<K,V> getEntryView(K key)
getEntryView in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yetpublic Collection<V> values()
@Deprecated public Set<K> keySet(com.hazelcast.query.Predicate predicate)
keySet in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Set<Map.Entry<K,V>> entrySet(com.hazelcast.query.Predicate predicate)
entrySet in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Collection<V> values(com.hazelcast.query.Predicate predicate)
values in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Set<K> localKeySet(com.hazelcast.query.Predicate predicate)
localKeySet in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public void addIndex(String attribute, boolean ordered)
addIndex in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yetpublic com.hazelcast.monitor.LocalMapStats getLocalMapStats()
@Deprecated public Object executeOnKey(K key, com.hazelcast.map.EntryProcessor entryProcessor)
executeOnKey in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Map<K,Object> executeOnKeys(Set<K> keys, com.hazelcast.map.EntryProcessor entryProcessor)
executeOnKeys in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public void submitToKey(K key, com.hazelcast.map.EntryProcessor entryProcessor, com.hazelcast.core.ExecutionCallback callback)
submitToKey in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Future submitToKey(K key, com.hazelcast.map.EntryProcessor entryProcessor)
submitToKey in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Map<K,Object> executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor)
executeOnEntries in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public Map<K,Object> executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor, com.hazelcast.query.Predicate predicate)
executeOnEntries in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public <SuppliedValue,Result> Result aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier, com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation)
aggregate in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yet@Deprecated public <SuppliedValue,Result> Result aggregate(com.hazelcast.mapreduce.aggregation.Supplier<K,V,SuppliedValue> supplier, com.hazelcast.mapreduce.aggregation.Aggregation<K,SuppliedValue,Result> aggregation, com.hazelcast.mapreduce.JobTracker jobTracker)
aggregate in interface com.hazelcast.core.IMap<K,V>UnsupportedOperationException - not implemented yetCopyright © 2015. All rights reserved.