|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An implementation of this interface has to be provided to JARM via
ConfMonitor.registerDataRecipient to allow JARM to check whether
trace data has to be collected (isTraceOn()) and to deliver this data via
notifyAtRequestEnd().
trace data is delivered only if following conditions are true: - trace data is collected right from the beginning of the request; this is done if there is at least one data recipient whose check function isTraceOn(user, request) delivers true at request start - if the condition above is true every data recipient whose check function isTraceOn(user, request, duration, outData) delivers true at request end is provided with trace data
| Field Summary | |
static int |
RECIPIENTTYPELOGGER
Recipient type for Jarm Data; all possible recipient types have to be listed here |
| Method Summary | |
int |
getRecipientType()
return recipient type of recipient implementation |
boolean |
isTraceOn(java.lang.String userName,
java.lang.String reqName)
method is called at the beginning of a request to check whether trace data should be collected during the request by JARM; this could be data which is collected by JARM anyway but also additional information; therefore this call is made at the beginning of the request; whether the data is delivered or not is finally decided at the end of the request via isTraceOn(user, request, duration, outData) |
boolean |
isTraceOn(java.lang.String userName,
java.lang.String reqName,
long duration,
int outData)
method is called at the end of a request to check whether data should be delivered via notifyAtRequestEnd() |
void |
notifyAtRequestEnd(RequestOverviewExt reqOverview)
method called during endRequest() to get the collected request data; is only called if trace is on |
| Field Detail |
public static final int RECIPIENTTYPELOGGER
| Method Detail |
public int getRecipientType()
public void notifyAtRequestEnd(RequestOverviewExt reqOverview)
public boolean isTraceOn(java.lang.String userName,
java.lang.String reqName)
userName - user name; could by 'null' if no name is provided
to JARMreqName - logical name of the request; could be 'null' if no name
is provided to JARM
public boolean isTraceOn(java.lang.String userName,
java.lang.String reqName,
long duration,
int outData)
userName - user name; could by 'null' if no name is provided
to JARMreqName - logical name of the request; could be 'null' if no name
is provided to JARMduration - duration of request in millisecondsoutData - amount of data transfered by the request in bytes;
ConfMonitor.UNDEFDATA if no information is available
|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||