1 22 package org.jboss.management.j2ee.statistics; 23 24 import javax.management.j2ee.statistics.BoundaryStatistic ; 25 26 33 public class BoundaryStatisticImpl 34 extends StatisticImpl 35 implements BoundaryStatistic 36 { 37 41 42 private static final long serialVersionUID = 4718840772715705031L; 43 44 48 protected long mLowerBound; 49 protected long mUpperBound; 50 51 55 58 public BoundaryStatisticImpl(String pName, String pUnit, String pDescription, 59 long lowerBound, long upperBound) 60 { 61 super(pName, pUnit, pDescription); 62 mLowerBound = lowerBound; 63 mUpperBound = upperBound; 64 } 65 66 70 73 public long getLowerBound() 74 { 75 return mLowerBound; 76 } 77 78 81 public long getUpperBound() 82 { 83 return mUpperBound; 84 } 85 86 89 public String toString() 90 { 91 return "BoundryStatistics[ " + getLowerBound() + ", " + 92 getUpperBound() + ", " + super.toString() + " ]"; 93 } 94 95 } 96 | Popular Tags |