|
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.OverviewMonitor
This class provides an API to deliver all collected monitoring information. Copies of the data are returned in order to avoid synchronization conflicts with the current monitoring.
| Constructor Summary | |
OverviewMonitor()
|
|
| Method Summary | |
static ApplThreadOverview[] |
getApplThreads()
A application specific overview about the thread activities is returned. |
static ComponentOverview[] |
getComponents(java.lang.String namePattern,
int maxResults)
Gives an overview about the components used by the requests. |
static ComponentOverviewExt[] |
getComponentsExt(java.lang.String namePattern,
int maxResults)
Gives an overview about the components used by the requests (including CPU specific data). |
static RequestSummary |
getSummaryOfRequests()
Returns key numbers for all requests issued since startup. |
static RequestSummaryExt |
getSummaryOfRequestsExt()
Returns key numbers for all requests issued since startup (including CPU specific data). |
static ComponentOverview[] |
getTopComponents(int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top components according to special criteria like gross time, number of calls. |
static ComponentOverviewExt[] |
getTopComponentsExt(int criterion,
java.lang.String namePattern,
int maxResults)
Gives an overview about the top components according to special criteria like gross time, number of calls (including CPU specific data). |
static RequestOverview[] |
getTopRequests(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. |
static RequestOverviewExt[] |
getTopRequestsExt(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). |
static UserOverview[] |
getTopUsers(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, ... (including CPU specific data) |
static 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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OverviewMonitor()
| Method Detail |
public static ApplThreadOverview[] getApplThreads()
public static RequestOverview[] getTopRequests(int retOverview,
int criterion,
java.lang.String namePattern,
int maxResults)
retOverview - ConfMonitor.REQOVERVIEWALL
<-> return all collected monitoring data;
ConfMonitor.REQOVERVIEWNONE
<-> 'null' is returned
ConfMonitor.REQOVERVIEWHEADER
<-> only header information is returned, but
no data about tasks or single componentscriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPOUTDATAnamePattern - restriction for request name; allowed aremaxResults - maximum number of result entries;
public static RequestOverviewExt[] getTopRequestsExt(int retOverview,
int criterion,
java.lang.String namePattern,
int maxResults)
retOverview - ConfMonitor.REQOVERVIEWALL
<-> return all collected monitoring data;
ConfMonitor.REQOVERVIEWNONE
<-> 'null' is returned
ConfMonitor.REQOVERVIEWHEADER
<-> only header information is returned, but
no data about tasks or single componentscriterion - ConfMonitor.TOPGROSSTIME, ConfMonitor.TOPOUTDATAnamePattern - restriction for request name; allowed aremaxResults - maximum number of result entries;public static RequestSummary getSummaryOfRequests()
public static RequestSummaryExt getSummaryOfRequestsExt()
public static ComponentOverview[] getTopComponents(int criterion,
java.lang.String namePattern,
int maxResults)
criterion - 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 static ComponentOverviewExt[] getTopComponentsExt(int criterion,
java.lang.String namePattern,
int maxResults)
criterion - 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 static ComponentOverview[] getComponents(java.lang.String namePattern,
int maxResults)
namePattern - 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 static ComponentOverviewExt[] getComponentsExt(java.lang.String namePattern,
int maxResults)
namePattern - 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 static UserOverview[] getTopUsers(int criterion,
java.lang.String namePattern,
int maxResults)
criterion - 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 static void resetMonitorData(int criterion)
criterion - 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 | ||||||||