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, setRawValueaddAggregate, getName, getType, propagatepublic RatePerUnit(String name, String p, CounterFactory.Type type, AbstractCounter base)
public double nextValue()
CounternextValue in interface CounternextValue in class AggregateCounterpublic void doCompute()
doCompute in class AggregateCounterprotected long getTime()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.