|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sap.util.monitor.jarm.JarmJmxMonitor
Implementation of JMX Interface for JARM
| Constructor Summary | |
JarmJmxMonitor()
|
|
| Method Summary | |
java.util.Properties |
getProperties()
Delivers the parameters currently valid for monitoring; |
boolean |
isRunning()
Indicates whether monitoring is switched on or off could also be done by getProperties() |
ApplThreadOverview[] |
listApplThreads()
A application specific overview about the thread activities is returned. |
ComponentOverview[] |
listComponents(java.lang.String namePattern,
int maxResults)
Gives an overview about the components used by the requests. |
ComponentOverviewExt[] |
listComponentsExt(java.lang.String namePattern,
int maxResults)
Gives an overview about the components used by the requests (including CPU specific data). |
RequestSummary |
listSummaryOfRequests()
Returns key numbers for all requests issued since startup. |
RequestSummaryExt |
listSummaryOfRequestsExt()
Returns key numbers for all requests issued since startup (including CPU specific data). |
ComponentOverview[] |
listTopComponents(int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top components according to special criteria like gross time, amount of outbound data. |
ComponentOverviewExt[] |
listTopComponentsExt(int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top components according to special criteria like gross time, amount of outbound data (including CPU specific data). |
RequestOverview[] |
listTopRequests(int retOverview,
int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top requests according to special criteria like gross time, amount of outbound data. |
RequestOverviewExt[] |
listTopRequestsExt(int retOverview,
int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top requests according to special criteria like gross time, amount of outbound data (including CPU specific data). |
UserOverview[] |
listTopUsers(int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top users according to special criteria like gross time, number of calls, ... |
void |
resetMonitorData(int criterion)
reset collected monitoring data reset user data (criterion: ConfMonitor.RESETUSERS): the accumulated user data is resetted; data which is being collected in currently open requests or in requests which are finished but not yet condensed is not touched reset component data (criterion: ConfMonitor.RESETCOMPONENTS): the accumulated component data is resetted; data which is being collected in currently open requests or in requests which are finished but not yet condensed is not touched; component attributes like description and the interface for component specific properties are not changed reset request data (criterion: ConfMonitor.RESETREQUESTS): the accumulated request data is resetted; data which is being collected in currently open requestsis not touched; different to the reset of components and users the requests which are finished but not yet condensed are deleted reset all data (criterion: ConfMonitor.RESETALL): combination of all cases above |
void |
setProperties(java.util.Properties props)
Set monitoring parameters; |
void |
setRunning(boolean switchOn)
Switches JARM monitoring on / off; is valid for requests which start after this call could also be done by setProperties() |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JarmJmxMonitor()
| Method Detail |
public void setRunning(boolean switchOn)
setRunning in interface JarmJmxMonitorMBeanswitchOn - true -> monitoring is switched on;
false -> monitoring is switched offpublic boolean isRunning()
isRunning in interface JarmJmxMonitorMBeanpublic void setProperties(java.util.Properties props)
setProperties in interface JarmJmxMonitorMBeanprops - properties object containing the key-value pairs
for the parameters; only parameters contained in
the properties object will be changed;public java.util.Properties getProperties()
getProperties in interface JarmJmxMonitorMBeanpublic ApplThreadOverview[] listApplThreads()
listApplThreads in interface JarmJmxMonitorMBean
public RequestOverview[] listTopRequests(int retOverview,
int criterion,
java.lang.String namePattern,
int maxResults)
listTopRequests in interface JarmJmxMonitorMBeanretOverview - ConfMonitor.REQOVERVIEWALL
<-> return all collected monitoring data;
ConfMonitor.REQOVERVIEWNONE
<-> 'null' is returned
currently only ConfMonitor.REQOVERVIEWALL makes sense for
call; the parameter was just added to be able to make
compatible extensions in futurecriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPOUTDATAnamePattern - restriction for request name; allowed aremaxResults - maximum number of result entries;
public RequestOverviewExt[] listTopRequestsExt(int retOverview,
int criterion,
java.lang.String namePattern,
int maxResults)
listTopRequestsExt in interface JarmJmxMonitorMBeanretOverview - ConfMonitor.REQOVERVIEWALL
<-> return all collected monitoring data;
ConfMonitor.REQOVERVIEWNONE
<-> 'null' is returned
currently only ConfMonitor.REQOVERVIEWALL makes sense for
call; the parameter was just added to be able to make
compatible extensions in futurecriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPOUTDATAnamePattern - restriction for request name; allowed aremaxResults - maximum number of result entries;public RequestSummary listSummaryOfRequests()
listSummaryOfRequests in interface JarmJmxMonitorMBeanpublic RequestSummaryExt listSummaryOfRequestsExt()
listSummaryOfRequestsExt in interface JarmJmxMonitorMBean
public ComponentOverview[] listTopComponents(int criterion,
java.lang.String namePattern,
int maxResults)
listTopComponents in interface JarmJmxMonitorMBeancriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPOUTDATA
ConfMonitor.TOPNETTIME, ConfMonitor.TOPCALLNUMnamePattern - restriction for component name; allowed aremaxResults - maximum number of result entries;
the value is restricted by ConfMonitor.initMaxCompRet;
if a big number is used, the response time could be high!!
public ComponentOverviewExt[] listTopComponentsExt(int criterion,
java.lang.String namePattern,
int maxResults)
listTopComponentsExt in interface JarmJmxMonitorMBeancriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPOUTDATA
ConfMonitor.TOPNETTIME, ConfMonitor.TOPCALLNUM
ConfMonitor.TOPGROSSCPUTIME, ConfMonitor.TOPNETCPUTIMEnamePattern - restriction for component name; allowed aremaxResults - maximum number of result entries;
the value is restricted by ConfMonitor.initMaxCompRet;
if a big number is used, the response time could be high!!
public ComponentOverview[] listComponents(java.lang.String namePattern,
int maxResults)
listComponents in interface JarmJmxMonitorMBeannamePattern - restriction for component name; allowed aremaxResults - maximum number of result entries;
the value is restricted by ConfMonitor.initMaxCompRet;
if a big number is used, the response time could be high!!
public ComponentOverviewExt[] listComponentsExt(java.lang.String namePattern,
int maxResults)
listComponentsExt in interface JarmJmxMonitorMBeannamePattern - restriction for component name; allowed aremaxResults - maximum number of result entries;
the value is restricted by ConfMonitor.initMaxCompRet;
if a big number is used, the response time could be high!!
public UserOverview[] listTopUsers(int criterion,
java.lang.String namePattern,
int maxResults)
listTopUsers in interface JarmJmxMonitorMBeancriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPACCGROSSTIME,
ConfMonitor.TOPCALLNUMnamePattern - restriction for component name; allowed aremaxResults - maximum number of result entries;
the value is restricted by ConfMonitor.initMaxUserRet;
if a big number is used, the response time could be high!!public void resetMonitorData(int criterion)
resetMonitorData in interface JarmJmxMonitorMBeancriterion - ConfMonitor.RESETALL, CONFMONITOR.RESETREQUESTS,
ConfMonitor.RESETCOMPONENTS, ConfMonitor.RESETUSERS
|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||