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