IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.stats
Interface PercentageStatistic

All Superinterfaces:
Serializable, Statistic

public interface PercentageStatistic
extends Statistic

This interface represents a percentage Statistic.

Since:
WAS XD 6.0.1

Method Summary
 PercentageStatistic copy()
          Returns a new copy of this statistic
 double getBase()
          Gets the base value of this statistic where getPercentage = getValue / getBase * 100
 double getPercentage()
          Gets the percentage value of this statistic where getPercentage = getValue / getBase * 100
 double getValue()
          Gets the numeric value of this statistic where getPercentage = getValue / getBase * 100
 
Methods inherited from interface com.ibm.websphere.objectgrid.stats.Statistic
combine, delta, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, reset, toString, update
 

Method Detail

getPercentage

double getPercentage()
Gets the percentage value of this statistic where getPercentage = getValue / getBase * 100

Returns:
the percentage value

getBase

double getBase()
Gets the base value of this statistic where getPercentage = getValue / getBase * 100

Returns:
the base value
Since:
7.1

getValue

double getValue()
Gets the numeric value of this statistic where getPercentage = getValue / getBase * 100

Returns:
the numeric value
Since:
7.1

copy

PercentageStatistic copy()
Returns a new copy of this statistic

Returns:
a copy of this object

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.