public class Sum extends AggregateCounter
Constructor and Description |
---|
Sum(String name,
AbstractCounter base) |
Modifier and Type | Method and Description |
---|---|
void |
doCompute() |
double |
nextValue()
Compute and return the value of the counter.
|
compute, decrement, getBase, increment, incrementBy, setRawValue
addAggregate, getName, getType, propagate
public Sum(String name, AbstractCounter base)
public double nextValue()
Counter
nextValue
in interface Counter
nextValue
in class AggregateCounter
public void doCompute()
doCompute
in class AggregateCounter
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.