BoundaryStatisticImplpublic class BoundaryStatisticImpl extends StatisticImpl implements Serializable, javax.management.j2ee.statistics.BoundaryStatisticSerializable implementation of a BoundaryStatistic |
Fields Summary |
---|
static final long | serialVersionUID | private long | LowerBound | private long | UpperBound |
Constructors Summary |
---|
public BoundaryStatisticImpl(String name, String description, String unit, long startTime, long lastSampleTime, long lower, long upper)
super( name, description, unit, startTime, lastSampleTime );
if ( LowerBound > UpperBound )
{
throw new IllegalArgumentException();
}
LowerBound = lower;
UpperBound = upper;
| public BoundaryStatisticImpl(CompositeData compositeData)Base the Statistic on the {@link CompositeData}
this( OpenMBeanUtil.compositeDataToMap( compositeData ) );
| public BoundaryStatisticImpl(Map m)
this( new MapStatisticImpl( m ) );
| public BoundaryStatisticImpl(MapStatistic s)
super( s );
LowerBound = s.getlong( "LowerBound" );
UpperBound = s.getlong( "UpperBound" );
| public BoundaryStatisticImpl(javax.management.j2ee.statistics.BoundaryStatistic s)
super( s );
LowerBound = s.getLowerBound();
UpperBound = s.getUpperBound();
|
Methods Summary |
---|
public long | getLowerBound()
return( LowerBound );
| public long | getUpperBound()
return( UpperBound );
|
|