|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
ObjectName |
createMonitoringMetricAvgLatency(long averageInterval,
TimeUnit unit)
Monitor the average latency of events between two endpoints. |
ObjectName |
createMonitoringMetricAvgLatencyThreshold(long averageInterval,
long threshold,
TimeUnit unit)
Monitor if the average latency of events between two endpoints cross a threshold.The endpints for a stage is defined as the ENTRY and EXIT points of a stage. |
ObjectName |
createMonitoringMetricAvgThroughput(Endpoint.Stagepoint stagepoint,
long throughputInterval,
long averageInterval,
TimeUnit unit)
Monitor the average throughput of events in an endpoint. |
ObjectName |
createMonitoringMetricAvgThroughput(long throughputInterval,
long averageInterval)
This method creates a StageMonitoringMetricRuntimeMBean which monitors the
average throughput for a Stage. |
ObjectName |
createMonitoringMetricAvgThroughput(long throughputInterval,
long averageInterval,
TimeUnit unit)
This method creates a StageMonitoringMetricRuntimeMBean which monitors the
average throughput for a Stage. |
ObjectName |
createMonitoringMetricMaxLatency(long averageInterval,
TimeUnit unit)
Monitor the maximum latency of events between two endpoints.The endpints for a stage is defined as the ENTRY and EXIT points of a stage. |
void |
disableMonitoring()
This method disables the monitoring of a stage. |
void |
enableMonitoring()
This method enables monitoring of a stage. |
String |
getStageType()
This method will return the type of Stage this MBean represents |
boolean |
monitored()
This method returns the status of the monitoring of a Stage |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getType,
isRegistered |
Method Detail |
public String getStageType()
public ObjectName createMonitoringMetricAvgThroughput(Endpoint.Stagepoint stagepoint, long throughputInterval, long averageInterval, TimeUnit unit) throws NotCompliantMBeanException, com.bea.wlevs.management.ManagementException, TooManyListenersException
Monitor the average throughput of events in an endpoint. Throughput is defined as the number of events that goes through the endpoint per the throughputInterval parameter, defined in the unit parameter. Time unit must be either in SECS or MILLISECS, but not less. The average throughput is calculated by averaging the throughput across the averageInterval parameterThis method creates a
StageMonitoringMetricRuntimeMBean
which monitors the
average throughput for a Stage. The monitored value can be accessed by calling the
method StageMonitoringMetricRuntimeMBean.getMetric()
stagepoint
- - Specifies the points in a stage throughputInterval
- - long throughput interval
defined in TimeUnit unitaverageInterval
- - long average interval
defined in TimeUnit unitunit
- - TimeUnit time unit for throughput and
average intervalpublic ObjectName createMonitoringMetricAvgThroughput(long throughputInterval, long averageInterval) throws NotCompliantMBeanException, com.bea.wlevs.management.ManagementException, TooManyListenersException
This method creates aStageMonitoringMetricRuntimeMBean
which monitors the average throughput for a Stage. The monitored value can be accessed by calling the methodStageMonitoringMetricRuntimeMBean.getMetric()
The default value for a Stage point is EXIT The default value for TimeUnit is SECONDS
throughputInterval
- -long throughputInterval defined in SECONDSaverageInterval
- - lon averageInterval defined in SECONDSpublic ObjectName createMonitoringMetricAvgThroughput(long throughputInterval, long averageInterval, TimeUnit unit) throws NotCompliantMBeanException, com.bea.wlevs.management.ManagementException, TooManyListenersException
This method creates aStageMonitoringMetricRuntimeMBean
which monitors the average throughput for a Stage. The monitored value can be accessed by calling the methodStageMonitoringMetricRuntimeMBean.getMetric()
The default value for a Stage point is EXIT
throughputInterval
- - long throughtput interval defined in TimeUnit
unitaverageInterval
- -long averageInterval defined in TimeUnit
unitunit
- - unit TimeUnit for throughputInterval and averageIntervalTimeUnit
public ObjectName createMonitoringMetricAvgLatency(long averageInterval, TimeUnit unit) throws NotCompliantMBeanException, com.bea.wlevs.management.ManagementException, TooManyListenersException
Monitor the average latency of events between two endpoints. The endpints for a stage is defined as the ENTRY and EXIT points of a stage. Latency is defined as the time it takes a event to flow between two endpoints. The average latency is calculated by averaging the latency across the averageInterval parameter.This method creates a
StageMonitoringMetricRuntimeMBean
which monitors the
average latency for a Stage. The monitored value can be accessed by calling the
method StageMonitoringMetricRuntimeMBean.getMetric()
averageInterval
- - long average interval
defined in TimeUnit unitunit
- - TimeUnit time unit for throughput and
average intervalTimeUnit
public ObjectName createMonitoringMetricAvgLatencyThreshold(long averageInterval, long threshold, TimeUnit unit) throws NotCompliantMBeanException, com.bea.wlevs.management.ManagementException, TooManyListenersException
Monitor if the average latency of events between two endpoints cross a threshold.The endpints for a stage is defined as the ENTRY and EXIT points of a stage. Latency is defined as the time it takes a event to flow between two endpoints. The average latency is calculated by averaging the latency across the averageInterval parameter.This method creates a
StageMonitoringMetricRuntimeMBean
which monitors the
average latency threshold for a Stage. The monitored value can be accessed by calling the
method StageMonitoringMetricRuntimeMBean.getMetric()
averageInterval
- - long average interval
defined in TimeUnit unitthreshold
- - long latency threshold used to emit
MetricEvents when crossedunit
- - TimeUnit time unit for throughput and
average intervalTimeUnit
public ObjectName createMonitoringMetricMaxLatency(long averageInterval, TimeUnit unit) throws NotCompliantMBeanException, com.bea.wlevs.management.ManagementException, TooManyListenersException
Monitor the maximum latency of events between two endpoints.The endpints for a stage is defined as the ENTRY and EXIT points of a stage. Latency is defined as the time it takes a event to flow between two endpoints. The maximum latency is the highest latency to occur during the maxInterval parameter.This method creates a
StageMonitoringMetricRuntimeMBean
which monitors the
max latency for a Stage. The monitored value can be accessed by calling the
method StageMonitoringMetricRuntimeMBean.getMetric()
averageInterval
- - long average interval
defined in TimeUnit unitunit
- - TimeUnit time unit for throughput and
average intervalTimeUnit
public void enableMonitoring() throws InstanceNotFoundException, JMException, com.bea.wlevs.management.ManagementException
monitoring
in the schema of the stage
public void disableMonitoring() throws InstanceNotFoundException, JMException, com.bea.wlevs.management.ManagementException
monitoring
in the schema of the stage
public boolean monitored() throws InstanceNotFoundException, JMException, com.bea.wlevs.management.ManagementException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |