public class GridPartitionStateMap extends AbstractMap<Integer,GridDhtPartitionState> implements Serializable
Null values are prohibited.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static GridPartitionStateMap |
EMPTY
Empty map.
|
| Constructor and Description |
|---|
GridPartitionStateMap()
Default constructor.
|
GridPartitionStateMap(GridPartitionStateMap from,
boolean onlyActive)
Creates map copy.
|
GridPartitionStateMap(int parts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
Set<Map.Entry<Integer,GridDhtPartitionState>> |
entrySet() |
boolean |
equals(Object o) |
GridDhtPartitionState |
get(Object key) |
int |
hashCode() |
GridDhtPartitionState |
put(Integer key,
GridDhtPartitionState val) |
GridDhtPartitionState |
remove(Object key) |
int |
size() |
clear, clone, containsValue, isEmpty, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final GridPartitionStateMap EMPTY
public GridPartitionStateMap()
public GridPartitionStateMap(int parts)
parts - Partitions to hold.public GridPartitionStateMap(GridPartitionStateMap from, boolean onlyActive)
from - Source map.onlyActive - Retains only active partitions.public Set<Map.Entry<Integer,GridDhtPartitionState>> entrySet()
entrySet in interface Map<Integer,GridDhtPartitionState>entrySet in class AbstractMap<Integer,GridDhtPartitionState>public GridDhtPartitionState put(Integer key, GridDhtPartitionState val)
put in interface Map<Integer,GridDhtPartitionState>put in class AbstractMap<Integer,GridDhtPartitionState>public GridDhtPartitionState get(Object key)
get in interface Map<Integer,GridDhtPartitionState>get in class AbstractMap<Integer,GridDhtPartitionState>public GridDhtPartitionState remove(Object key)
remove in interface Map<Integer,GridDhtPartitionState>remove in class AbstractMap<Integer,GridDhtPartitionState>public boolean containsKey(Object key)
containsKey in interface Map<Integer,GridDhtPartitionState>containsKey in class AbstractMap<Integer,GridDhtPartitionState>public int size()
size in interface Map<Integer,GridDhtPartitionState>size in class AbstractMap<Integer,GridDhtPartitionState>public boolean equals(Object o)
equals in interface Map<Integer,GridDhtPartitionState>equals in class AbstractMap<Integer,GridDhtPartitionState>public int hashCode()
hashCode in interface Map<Integer,GridDhtPartitionState>hashCode in class AbstractMap<Integer,GridDhtPartitionState>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020