org.apache.camel.management.mbean
Class LoadTriplet

java.lang.Object
  extended by org.apache.camel.management.mbean.LoadTriplet

public final class LoadTriplet
extends Object

Holds the loads averaged over 1min, 5min, and 15min.


Constructor Summary
LoadTriplet()
           
 
Method Summary
 double getLoad1()
           
 double getLoad15()
           
 double getLoad5()
           
 String toString()
           
 void update(int currentReading)
          Update the load statistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadTriplet

public LoadTriplet()
Method Detail

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