public class CachePartitionFullCountersMap extends Object implements Serializable
| Constructor and Description |
|---|
CachePartitionFullCountersMap(CachePartitionFullCountersMap other) |
CachePartitionFullCountersMap(int partsCnt) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears full counters map.
|
long |
initialUpdateCounter(int p)
Gets an initial update counter by the partition ID.
|
void |
initialUpdateCounter(int p,
long initialUpdCntr)
Sets an initial update counter by the partition ID.
|
static Map<Integer,T2<Long,Long>> |
toCountersMap(CachePartitionFullCountersMap map) |
long |
updateCounter(int p)
Gets an update counter by the partition ID.
|
void |
updateCounter(int p,
long updCntr)
Sets an update counter by the partition ID.
|
public CachePartitionFullCountersMap(CachePartitionFullCountersMap other)
other - Map to copy.public CachePartitionFullCountersMap(int partsCnt)
partsCnt - Total number of partitions.public long initialUpdateCounter(int p)
p - Partition ID.public long updateCounter(int p)
p - Partition ID.public void initialUpdateCounter(int p,
long initialUpdCntr)
p - Partition ID.initialUpdCntr - Initial update counter to set.public void updateCounter(int p,
long updCntr)
p - Partition ID.updCntr - Update counter to set.public void clear()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020