org.jboss.management.j2ee.statistics
Class BoundaryStatisticImpl
java.lang.Object
org.jboss.management.j2ee.statistics.StatisticImpl (src)
org.jboss.management.j2ee.statistics.BoundaryStatisticImpl
- All Implemented Interfaces:
- BoundaryStatistic (src) , java.io.Serializable, Statistic (src)
- public class BoundaryStatisticImpl
- extends StatisticImpl (src)
- implements BoundaryStatistic (src)
This class is the JBoss specific Boundary Statistics class allowing
just to increase and resetStats the instance.
- See Also:
- Serialized Form
Constructor Summary |
BoundaryStatisticImpl(java.lang.String pName,
java.lang.String pUnit,
java.lang.String pDescription,
long lowerBound,
long upperBound)
Default (no-args) constructor |
Method Summary |
long |
getLowerBound()
The lower limit of the value of this attribute.The upper limit of the value of this attribute. |
long |
getUpperBound()
The upper limit of the value of this attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mLowerBound
protected long mLowerBound
mUpperBound
protected long mUpperBound
BoundaryStatisticImpl
public BoundaryStatisticImpl(java.lang.String pName,
java.lang.String pUnit,
java.lang.String pDescription,
long lowerBound,
long upperBound)
- Default (no-args) constructor
getLowerBound
public long getLowerBound()
- Description copied from interface:
BoundaryStatistic (src)
- The lower limit of the value of this attribute.The upper limit of the value of this attribute.
- Specified by:
getLowerBound
in interface BoundaryStatistic (src)
- Returns:
- The value of LowerBound
getUpperBound
public long getUpperBound()
- Description copied from interface:
BoundaryStatistic (src)
- The upper limit of the value of this attribute.
- Specified by:
getUpperBound
in interface BoundaryStatistic (src)
- Returns:
- The value of UpperBound
toString
public java.lang.String toString()
- Overrides:
toString
in class StatisticImpl (src)
- Returns:
- Debug Information about this Instance