|
|||||||||||
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.MfExternalResourceMetrics
MfExternalResourceMetrics contains the metrics related to an external 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 | |
MfExternalResourceMetrics()
|
Method Summary | |
long |
getAccumulatedOutboundAssociations()
Get the total number of associations since the initialization. |
long |
getAccumulatedQueriesTime()
Get the accumulated query time. |
long |
getAccumulatedSqQueriesTime()
Get the accumulated squared query time. |
long |
getFailedOutboundAssociations()
Get the total number of failed associations since the initialization. |
long |
getFailedQueries()
Get the number of failed queries. |
long |
getLastOutboundActivity()
Get the value of sysUpTime at the time this application last had an outbound association.. |
long |
getMaxQueriesTime()
Get the maximum query time. |
long |
getMinQueriesTime()
Get the minimum query time. |
long |
getNbQueries()
Get the number of queries. |
long |
getOutboundAssociations()
Get the number of current associations. |
java.lang.String |
getProviderUri()
Get the uri of the external resource. |
void |
resetMetrics()
Reset all the metrics. |
void |
setAccumulatedOutboundAssociations(long p)
Set the total number of associations since the initialization. |
void |
setAccumulatedQueriesTime(long p)
Set the accumulated query time. |
void |
setAccumulatedSqQueriesTime(long p)
Set the accumulated squared query time. |
void |
setFailedOutboundAssociations(long p)
Set the total number of failed associations since the initialization. |
void |
setFailedQueries(long p)
Set the number of failed queries. |
void |
setLastOutboundActivity(long p)
Set the value of sysUpTime at the time this application last had an outbound association.. |
void |
setMaxQueriesTime(long p)
Set the maximum query time. |
void |
setMinQueriesTime(long p)
Set the minimum query time. |
void |
setNbQueries(long p)
Set the number of queries. |
void |
setOutboundAssociations(long p)
Set the number of current associations. |
void |
setProviderUri(java.lang.String p)
Set the uri of the external resource. |
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 MfExternalResourceMetrics()
Method Detail |
public java.lang.String getProviderUri()
getProviderUri
in interface MfExternalResourceMetricsMBean
public long getAccumulatedOutboundAssociations()
getAccumulatedOutboundAssociations
in interface MfExternalResourceMetricsMBean
public long getFailedOutboundAssociations()
getFailedOutboundAssociations
in interface MfExternalResourceMetricsMBean
public long getFailedQueries()
getFailedQueries
in interface MfExternalResourceMetricsMBean
public long getNbQueries()
getNbQueries
in interface MfExternalResourceMetricsMBean
public long getLastOutboundActivity()
getLastOutboundActivity
in interface MfExternalResourceMetricsMBean
public long getOutboundAssociations()
getOutboundAssociations
in interface MfExternalResourceMetricsMBean
public long getMinQueriesTime()
getMinQueriesTime
in interface MfExternalResourceMetricsMBean
public long getMaxQueriesTime()
getMaxQueriesTime
in interface MfExternalResourceMetricsMBean
public long getAccumulatedQueriesTime()
getAccumulatedQueriesTime
in interface MfExternalResourceMetricsMBean
public long getAccumulatedSqQueriesTime()
getAccumulatedSqQueriesTime
in interface MfExternalResourceMetricsMBean
public void resetMetrics()
resetMetrics
in interface MfMetricMBean
resetMetrics
in class MfMetric
public void setProviderUri(java.lang.String p)
public void setAccumulatedOutboundAssociations(long p)
public void setFailedOutboundAssociations(long p)
public void setFailedQueries(long p)
public void setNbQueries(long p)
public void setLastOutboundActivity(long p)
public void setOutboundAssociations(long p)
public void setMinQueriesTime(long p)
public void setMaxQueriesTime(long p)
public void setAccumulatedQueriesTime(long p)
public void setAccumulatedSqQueriesTime(long p)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |