public class ThresholdAccumulator extends Object implements Accumulator
Modifier and Type | Field and Description |
---|---|
int |
thresholdSeconds |
Constructor and Description |
---|
ThresholdAccumulator() |
Modifier and Type | Method and Description |
---|---|
void |
accumulate(double amount,
ResultSet current,
ResultSet accumulated) |
void |
finish() |
void |
setThresholdMinutes(int minutes) |
public void setThresholdMinutes(int minutes)
public void accumulate(double amount, ResultSet current, ResultSet accumulated)
accumulate
in interface Accumulator
public void finish()
finish
in interface Accumulator
Copyright © 2018. All rights reserved.