1 23 24 28 29 34 35 package com.sun.enterprise.admin.monitor.stats; 36 import javax.management.j2ee.statistics.BoundaryStatistic ; 37 38 45 46 public final class BoundaryStatisticImpl extends StatisticImpl implements BoundaryStatistic { 47 48 private final long lowerBound; 49 private final long upperBound; 50 51 60 public BoundaryStatisticImpl(long lower, long upper, String name, 61 String unit, String desc, long startTime, 62 long sampleTime) { 63 64 super(name, unit, desc, startTime, sampleTime); 65 upperBound = upper; 66 lowerBound = lower; 67 } 68 69 73 public long getLowerBound() { 74 return lowerBound; 75 } 76 77 81 public long getUpperBound() { 82 return upperBound; 83 } 84 } 85 | Popular Tags |