public class VacuumMetricsReducer extends Object implements IgniteReducer<VacuumMetrics,VacuumMetrics>
| Constructor and Description |
|---|
VacuumMetricsReducer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
collect(@Nullable VacuumMetrics metrics)
Collects given value.
|
VacuumMetrics |
reduce()
Reduces collected values into one.
|
public boolean collect(@Nullable
@Nullable VacuumMetrics metrics)
false then IgniteReducer.reduce()
will be called right away. Otherwise caller will continue collecting until all
values are processed.collect in interface IgniteReducer<VacuumMetrics,VacuumMetrics>metrics - Value to collect.true to continue collecting, false to instruct caller to stop
collecting and call IgniteReducer.reduce() method.public VacuumMetrics reduce()
reduce in interface IgniteReducer<VacuumMetrics,VacuumMetrics>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020