org.apache.camel.management.mbean
Class LoadTriplet
java.lang.Object
org.apache.camel.management.mbean.LoadTriplet
public final class LoadTriplet
- extends Object
Holds the loads averaged over 1min, 5min, and 15min.
LoadTriplet
public LoadTriplet()
update
public void update(int currentReading)
- Update the load statistics
- Parameters:
currentReading
- the current reading
getLoad1
public double getLoad1()
getLoad5
public double getLoad5()
getLoad15
public double getLoad15()
toString
public String toString()
- Overrides:
toString
in class Object
Apache CAMEL