Class IgniteDhtPartitionCountersMap
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.distributed.dht.preloader.IgniteDhtPartitionCountersMap
-
- All Implemented Interfaces:
Serializable
public class IgniteDhtPartitionCountersMap extends Object implements Serializable
Partition counters map.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IgniteDhtPartitionCountersMap()
-
-
-
Method Detail
-
empty
public boolean empty()
- Returns:
Trueif map is empty.
-
putIfAbsent
public void putIfAbsent(int cacheId, Map<Integer,T2<Long,Long>> cntrMap)- Parameters:
cacheId- Cache ID.cntrMap- Counters map.
-
get
public Map<Integer,T2<Long,Long>> get(int cacheId)
- Parameters:
cacheId- Cache ID.- Returns:
- Counters map.
-
-