public class TxCounters extends Object
| Constructor and Description |
|---|
TxCounters() |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,Map<Integer,AtomicLong>> |
accumulatedUpdateCounters() |
void |
accumulateSizeDelta(int cacheId,
int part,
long delta)
Accumulates size change for cache partition.
|
void |
decrementUpdateCounter(int cacheId,
int part) |
void |
incrementUpdateCounter(int cacheId,
int part) |
Map<Integer,Map<Integer,AtomicLong>> |
sizeDeltas() |
Collection<PartitionUpdateCountersMessage> |
updateCounters() |
void |
updateCounters(Collection<PartitionUpdateCountersMessage> updCntrs) |
public void accumulateSizeDelta(int cacheId,
int part,
long delta)
cacheId - Cache id.part - Partition id.delta - Size delta.public Map<Integer,Map<Integer,AtomicLong>> sizeDeltas()
public void updateCounters(Collection<PartitionUpdateCountersMessage> updCntrs)
updCntrs - Final update counters.@Nullable public Collection<PartitionUpdateCountersMessage> updateCounters()
public Map<Integer,Map<Integer,AtomicLong>> accumulatedUpdateCounters()
public void incrementUpdateCounter(int cacheId,
int part)
cacheId - Cache id.part - Partition number.public void decrementUpdateCounter(int cacheId,
int part)
cacheId - Cache id.part - Partition number.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019