IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.stats
Interface ActiveLongStatistic

All Known Subinterfaces:
ActiveCountStatistic, ActiveTimeStatistic

public interface ActiveLongStatistic

This interface is used for gathering long type statistic data for a certain time period.

This statistic has the capability to tell what the statistic data are for the last time period. For example, the number of requests in the last period. What the statistic data are is up to the implementation.

Since:
WAS XD 6.0.1

Method Summary
 long getDataFromLastPeriod()
          Gets the data from the last period
 long getMaxDataPerPeriod()
          Gets the maximum value of the data for all periods
 long getMinDataPerPeriod()
          Gets the minimum value of the data for all periods.
 long getPeriodLength()
          Gets the length of the time period in milliseconds.
 void setPeriodLength(long millisec)
          Sets the length of the time period in milliseconds.
 

Method Detail

getPeriodLength

long getPeriodLength()
Gets the length of the time period in milliseconds.

Returns:
the argument that was passed to the setPeriodLength(long) method of this interface or 0 if setPeriodLength was not previously called for this object.
See Also:
setPeriodLength(long)

setPeriodLength

void setPeriodLength(long millisec)
Sets the length of the time period in milliseconds.

Parameters:
millisec - the length of the time period

getDataFromLastPeriod

long getDataFromLastPeriod()
Gets the data from the last period

Returns:
the data from the last period

getMinDataPerPeriod

long getMinDataPerPeriod()
Gets the minimum value of the data for all periods.

Returns:
the minimum value of the data

getMaxDataPerPeriod

long getMaxDataPerPeriod()
Gets the maximum value of the data for all periods

Returns:
the maximum value of the data

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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