public class LocalStatisticsGatheringContext extends Object
| Constructor and Description |
|---|
LocalStatisticsGatheringContext(Set<Integer> remainingParts)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ObjectStatisticsImpl> |
futureAggregate()
Complete aggregation local statistics future.
|
CompletableFuture<Boolean> |
futureGather()
Complete gathering local partitioned statistics future.
|
void |
partitionDone(int partId)
Decrement remaining due to successfully processed partition.
|
void |
partitionNotAvailable(int partId)
Decrement remaining due to unavailable partition.
|
String |
toString() |
public void partitionDone(int partId)
partId - Partition id.public void partitionNotAvailable(int partId)
partId - Unavailable partition id.public CompletableFuture<Boolean> futureGather()
true gathering complete (stats from all partitions are gathered),
false gathering incomplete: one or more partitions not available.public CompletableFuture<ObjectStatisticsImpl> futureAggregate()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.8.9 Release Date : September 29 2021