com.microstrategy.web.beans.PerformanceMonitorBean |
The MonitorBean is a bean which is used to monitor performance counters on a cluster
of Intelligence Servers. Each MonitorBean is meant to correspond to one graph object
within the GUI. New MonitorBean objects can be obtained from the
PerformanceMonitorBeanManager
class.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addCounter(String serverName, String category, String instance, String counter)
This method tells the API to begin monitoring the given counter.
| ||||||||||
abstract void |
addCounter(String category, String instance, String counter)
This method tells the API to begin monitoring the given counter.
| ||||||||||
abstract Categories |
getAvailableCategories(String serverName)
Returns a
Categories collection of the categories which are available on the given server. | ||||||||||
abstract WebPerformanceMonitor |
getMonitor()
Returns the
WebPerformanceMonitor that this bean is monitoring. | ||||||||||
abstract String |
getMonitorID()
Returns the DSSID of the
WebPerformanceMonitor that this bean is monitoring. | ||||||||||
abstract Categories |
getMonitoredCategories(String serverName)
Returns a
Categories collection of the monitored categories for the given server. | ||||||||||
abstract boolean |
isMonitored(String serverName, String category, String instance, String counter)
Returns whether the given counter is monitored.
| ||||||||||
abstract void |
removeCounter(String category, String instance, String counter)
This method tells the API to quit monitoring the given counter, if it is being monitored.
| ||||||||||
abstract void |
removeCounter(String serverName, String category, String instance, String counter)
This method tells the API to quit monitoring the given counter, if it is being monitored.
| ||||||||||
abstract void |
setMonitor(WebPerformanceMonitor monitor)
Sets the
WebPerformanceMonitor to use to monitor using this bean. | ||||||||||
abstract void |
setMonitorID(String monitorID)
Sets the monitor ID corresponding to the
WebPerformanceMonitor to use to monitor using this bean. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
This method tells the API to begin monitoring the given counter. This must be called
for each counter for which data will be retrieved. The method adds the counter to the existing WebMonitor
object
on the bean.
serverName | The name of the Intelligence Server that the counter resides upon. |
---|---|
category | The name of the category. |
instance | The name of the instance. |
counter | The name of the counter. |
IllegalArgumentException | Thrown if the given counter does not exist on the given |
---|---|
WebBeanException | Thrown if error countered while loading the WebMonitor object.
Intelligence Server.
|
This method tells the API to begin monitoring the given counter. The counter will be monitored on the
counter which the session is associated with on the bean. This must be called
for each counter for which data will be retrieved. The method adds the counter to the existing WebMonitor
object
on the bean.
category | The name of the category. |
---|---|
instance | The name of the instance. |
counter | The name of the counter. |
IllegalArgumentException | Thrown if the given counter does not exist on the given |
---|---|
WebBeanException | Thrown if error countered while loading the WebMonitor object.
Intelligence Server. |
Returns a Categories
collection of the categories which are available on the given server.
serverName | The name of the Intelligence Server to obtain counters for. |
---|
Categories
collection containing all available counters for the server.
Returns the WebPerformanceMonitor
that this bean is monitoring.
WebBeanException | if an error was encountered while loading the performance monitor. |
---|
Returns the DSSID of the WebPerformanceMonitor
that this bean is monitoring.
Returns a Categories
collection of the monitored categories for the given server. This
collection will only contain those counters which are currently being monitored by this bean.
serverName | The name of the Intelligence Server to obtain counters for. |
---|
Categories
collection containing only those counters being monitored.WebBeanException | thrown if there is a problem retrieving information from the specified server |
---|
Returns whether the given counter is monitored.
serverName | The name of the server that the monitor belongs to. |
---|---|
category | The name of the category. |
instance | The name of the instance. |
counter | The name of the counter. |
WebBeanException | thrown if there is a problem retrieving information from the specified server |
---|
This method tells the API to quit monitoring the given counter, if it is being monitored.
The method removes the counter from the existing WebMonitor
object
on the bean. This method will quit monitoring a monitor type which has no server associated with it,
which means to only monitor the server that the session is created on.
category | The name of the category. |
---|---|
instance | The name of the instance. |
counter | The name of the counter. |
IllegalArgumentException | Thrown if the given counter does not exist or is not being logged on the given |
---|---|
WebBeanException | Thrown if error countered while loading the WebMonitor object.
Intelligence Server. |
This method tells the API to quit monitoring the given counter, if it is being monitored.
The method removes the counter from the existing WebMonitor
object
on the bean.
serverName | The name of the Intelligence Server that the counter resides upon. |
---|---|
category | The name of the category. |
instance | The name of the instance. |
counter | The name of the counter. |
IllegalArgumentException | Thrown if the given counter does not exist or is not being logged on the given |
---|---|
WebBeanException | Thrown if error countered while loading the WebMonitor object.
Intelligence Server.
|
Sets the WebPerformanceMonitor
to use to monitor using this bean.
monitor | The performance monitor that the bean should use to monitor. |
---|
Sets the monitor ID corresponding to the WebPerformanceMonitor
to use to monitor using this bean.
monitorID | The ID of the performance monitor. |
---|
IllegalArgumentException | if the monitor ID passed is incorrect. |
---|