|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
com.sun.mfwk.util.instrum.MfStatus
com.sun.mfwk.util.instrum.MfMetric
com.sun.mfwk.util.instrum.MfResourceMetrics
MfResourceMetrics contains the generic metrics related to a resource.
| 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 |
| Constructor Summary | |
MfResourceMetrics()
|
|
| Method Summary | |
long |
getAccumulatedOperationTime()
Get the accumulated operation time since the reference time. |
long |
getAccumulatedSqOperationTime()
Get the accumulated squared operation time since the reference time. |
long |
getFailedOperations()
Get the number of failed operations. |
long |
getMaxOperationTime()
Get the maximum operation time since the reference time. |
long |
getMinOperationTime()
Get the minimum operation time since the reference time. |
long |
getNbOperations()
Get the number of operations. |
void |
resetMetrics()
Reset all the metrics. |
void |
setAccumulatedOperationTime(long p)
Set the accumulated operation time since the reference time. |
void |
setAccumulatedSqOperationTime(long p)
Set the accumulated squared operation time since the reference time. |
void |
setFailedOperations(long p)
Set the number of failed operations. |
void |
setMaxOperationTime(long p)
Set the maximum operation time since the reference time. |
void |
setMinOperationTime(long p)
Set the minimum operation time since the reference time. |
void |
setNbOperations(long p)
Set the number of operations. |
| Methods inherited from class com.sun.mfwk.util.instrum.MfMetric |
disableMonitoring, enableMonitoring, handleNotification, isMonitoringEnabled, postDeregister, postRegister, preDeregister, preRegister |
| Methods inherited from class com.sun.mfwk.util.instrum.MfStatus |
getAvailabilityState, getAvailStateLastChange, getDegradedTime, getOperationalState, getOpsStateLastChange, getRunningTime, setAvailabilityState, setAvailStateLastChange, setDegradedTime, setOperationalState, setOpsStateLastChange, setRunningTime |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.mfwk.util.instrum.MfMetricMBean |
disableMonitoring, enableMonitoring, isMonitoringEnabled |
| Methods inherited from interface com.sun.mfwk.util.instrum.MfStatusMBean |
getAvailabilityState, getAvailStateLastChange, getDegradedTime, getOperationalState, getOpsStateLastChange, getRunningTime |
| Constructor Detail |
public MfResourceMetrics()
| Method Detail |
public long getFailedOperations()
getFailedOperations in interface MfResourceMetricsMBeanpublic long getNbOperations()
getNbOperations in interface MfResourceMetricsMBeanpublic long getMinOperationTime()
getMinOperationTime in interface MfResourceMetricsMBeanpublic long getMaxOperationTime()
getMaxOperationTime in interface MfResourceMetricsMBeanpublic long getAccumulatedOperationTime()
getAccumulatedOperationTime in interface MfResourceMetricsMBeanpublic long getAccumulatedSqOperationTime()
getAccumulatedSqOperationTime in interface MfResourceMetricsMBeanpublic void resetMetrics()
resetMetrics in interface MfMetricMBeanresetMetrics in class MfMetricpublic void setFailedOperations(long p)
public void setNbOperations(long p)
public void setMinOperationTime(long p)
public void setMaxOperationTime(long p)
public void setAccumulatedOperationTime(long p)
public void setAccumulatedSqOperationTime(long p)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||