public class LocalStatisticsGatheringContext extends Object
| Constructor and Description |
|---|
LocalStatisticsGatheringContext(boolean forceRecollect,
GridH2Table tbl,
StatisticsObjectConfiguration cfg,
Set<Integer> remainingParts,
AffinityTopologyVersion topVer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Integer> |
allParts() |
void |
cancel()
Cancel gathering.
|
boolean |
cancelled() |
StatisticsObjectConfiguration |
configuration() |
boolean |
forceRecollect() |
CompletableFuture<Void> |
future() |
boolean |
partitionDone(int partId)
Decrement remaining partitions due to successfully processed partition.
|
void |
partitionNotAvailable(int partId)
Decrement remaining partitions due to unavailable partition.
|
Set<Integer> |
remainingParts() |
GridH2Table |
table() |
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
public LocalStatisticsGatheringContext(boolean forceRecollect,
GridH2Table tbl,
StatisticsObjectConfiguration cfg,
Set<Integer> remainingParts,
AffinityTopologyVersion topVer)
forceRecollect - Force recollect flag.tbl - Table to process.cfg - Statistics configuration to use.remainingParts - Set of partition ids to collect.public boolean forceRecollect()
public GridH2Table table()
public StatisticsObjectConfiguration configuration()
public boolean partitionDone(int partId)
partId - Partition id.true if no more partitions left, false - otherwise.public Set<Integer> allParts()
null if there was just byObsolescence recollection.public void partitionNotAvailable(int partId)
partId - Unavailable partition id.public void cancel()
public boolean cancelled()
public CompletableFuture<Void> future()
public AffinityTopologyVersion topologyVersion()
null if it's just an obsolescence processing.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025