|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.audit.util.MetricMath
public class MetricMath
| Field Summary | |
|---|---|
static double |
MIN_RANGE
Minimal range value |
| Constructor Summary | |
|---|---|
MetricMath()
|
|
| Method Summary | |
|---|---|
static boolean |
isNonZero(javax.management.Attribute att)
test whether attribute value is zero or not |
static boolean |
isNum(java.lang.Object obj)
Check whether obj is numeric |
static double |
range(double d)
Returns the range of a double. |
static double |
sum(java.lang.String attr,
java.util.LinkedList<Metric> l)
Computes the sum of the attr attribute for all metrics in l. |
static double |
toDouble(javax.management.Attribute attr)
Returns the value of attr as a double. |
static double |
toDouble(java.lang.Object o)
If o is numeric, returns a double representing thhat number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double MIN_RANGE
| Constructor Detail |
|---|
public MetricMath()
| Method Detail |
|---|
public static double sum(java.lang.String attr,
java.util.LinkedList<Metric> l)
attr - l -
public static double toDouble(javax.management.Attribute attr)
attr -
public static double toDouble(java.lang.Object o)
o -
public static double range(double d)
d -
public static boolean isNum(java.lang.Object obj)
obj -
public static boolean isNonZero(javax.management.Attribute att)
att -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||