K
- The type of key is limited to string only.V
- The type of values in the dictionary.DistributedDataStructure
, java.lang.Iterable
, Lockable
, java.util.Map<K,V>
, Notifiable
public interface DistributedMap<K,V> extends java.util.Map<K,V>, DistributedDataStructure, Notifiable, java.lang.Iterable
Modifier and Type | Method | Description |
---|---|---|
void |
copyTo(java.util.Map.Entry<java.lang.String,V>[] array,
int arrayIndex) |
Copies the Map elements to the specified array, starting at the specified index.
|
java.util.Collection<V> |
get(java.util.Collection<java.lang.String> keys) |
Returns the values associated with the specified keys.
|
void |
insert(java.util.Map<java.lang.String,V> entries) |
Insert elements with the provided keys and values in DistributedMap.
|
int |
remove(java.util.Collection<java.lang.String> keys) |
Removes the element with the specified keys from DistributedMap.
|
getKey, getWriteThruOptions, setWriteThruOptions
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
addChangeListener, removeChangeListener
void insert(java.util.Map<java.lang.String,V> entries)
entries
- void copyTo(java.util.Map.Entry<java.lang.String,V>[] array, int arrayIndex)
array
- The destination array of the elements copied from map.arrayIndex
- he zero-based index in array at which copying begins.int remove(java.util.Collection<java.lang.String> keys)
keys
- The keys of the elements to remove.java.util.Collection<V> get(java.util.Collection<java.lang.String> keys)
keys
- The keys whose values to get.