org.ow2.easybeans.api.statistic
Interface EZBStatistic


public interface EZBStatistic

Interface for all EasyBeans statistics.

Author:
missonng

Method Summary
 void activate()
          Activate the statistic.
 void deactivate()
          Deactivate the statistic.
 String getDescription()
          Get the statistic description.
 javax.management.j2ee.statistics.Statistic getJSR77Statistic()
          Get the statistic JSR77 representation.
 long getLastSampleTime()
          Get the statistic last sample time.
 String getName()
          Get the statistic name.
 long getStartTime()
          Get the statistic start time.
 String getStatisticFactoryId()
          Get the statistic factory id.
 String getStatisticId()
          Get the statistic id.
 String getStatisticProviderId()
          Get the statistic provider id.
 String getUnit()
          Get the statistic unit.
 String getValue()
          Get the statistic String representation.
 boolean isAvailable()
          Get the statistic availability.
 void reset()
          Reset the statistic.
 

Method Detail

getName

String getName()
Get the statistic name.

Returns:
The statistic name.

getDescription

String getDescription()
Get the statistic description.

Returns:
The statistic description.

getUnit

String getUnit()
Get the statistic unit.

Returns:
The statistic unit.

getStartTime

long getStartTime()
Get the statistic start time.

Returns:
The statistic start time.

getLastSampleTime

long getLastSampleTime()
Get the statistic last sample time.

Returns:
The statistic last sample time.

getValue

String getValue()
Get the statistic String representation.

Returns:
The statistic String representation.

getJSR77Statistic

javax.management.j2ee.statistics.Statistic getJSR77Statistic()
Get the statistic JSR77 representation.

Returns:
The statistic JSR77 representation.

getStatisticId

String getStatisticId()
Get the statistic id.

Returns:
The statistic factory id.

getStatisticFactoryId

String getStatisticFactoryId()
Get the statistic factory id.

Returns:
The statistic factory id.

getStatisticProviderId

String getStatisticProviderId()
Get the statistic provider id.

Returns:
The statistic provider id.

reset

void reset()
Reset the statistic.


activate

void activate()
Activate the statistic.


deactivate

void deactivate()
Deactivate the statistic.


isAvailable

boolean isAvailable()
Get the statistic availability.

Returns:
The statistic availability.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.