com.sun.mfwk.util.instrum
Interface MfMetricMBean

All Superinterfaces:
MfStatusMBean
All Known Subinterfaces:
MfExternalResourceMetricsMBean, MfResourceMetricsMBean, MfTransactionMetricsMBean
All Known Implementing Classes:
MfExternalResourceMetrics, MfMetric, MfResourceMetrics, MfTransactionMetrics

public interface MfMetricMBean
extends MfStatusMBean

MfMetricMBean contains the generic information exposed for management for all metric types


Field Summary
 
Fields inherited from interface com.sun.mfwk.util.instrum.MfStatusMBean
AVAIL_CONGESTED, AVAIL_DEGRADED, AVAIL_NORMAL, OPS_FAILED, OPS_RUNNING, OPS_STARTING, OPS_STOPPED, OPS_STOPPING
 
Method Summary
 void disableMonitoring()
          Disables the monitoring for this instance.
 void enableMonitoring()
          Enables the monitoring for this instance.
 boolean isMonitoringEnabled()
          Check if the instrumentation is disabled for this instance.
 void resetMetrics()
          Reset all the metrics.
 
Methods inherited from interface com.sun.mfwk.util.instrum.MfStatusMBean
getAvailabilityState, getAvailStateLastChange, getDegradedTime, getOperationalState, getOpsStateLastChange, getRunningTime
 

Method Detail

isMonitoringEnabled

public boolean isMonitoringEnabled()
Check if the instrumentation is disabled for this instance.


resetMetrics

public void resetMetrics()
Reset all the metrics.


enableMonitoring

public void enableMonitoring()
Enables the monitoring for this instance.


disableMonitoring

public void disableMonitoring()
Disables the monitoring for this instance.