public class Operator extends AggregateCounter
Constructor and Description |
---|
Operator(String name,
AbstractCounter base,
AbstractCounter base2,
CounterFactory.Type type) |
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 Operator(String name, AbstractCounter base, AbstractCounter base2, CounterFactory.Type type)
public double nextValue()
Counter
nextValue
in interface Counter
nextValue
in class AggregateCounter
public void doCompute()
doCompute
in class AggregateCounter
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.