|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface used by the runtime to report time measurements of RPC executions. To get these measurements into your monitoring system, do the following:
<plugin-impl implements="at.spardat.xma.monitoring.IMonitoring" implServer="<YourClassName>" />
| Method Summary | |
void |
endTiming(java.lang.Object event,
boolean success)
Report the end of a timing. |
void |
reportValue(java.lang.String varName,
int value,
boolean success)
Report the observerd value of a parameter. |
java.lang.Object |
startTiming(java.lang.String varName)
Report the start of a timing. |
| Method Detail |
public java.lang.Object startTiming(java.lang.String varName)
varName - The name of the variable to observe. The runtime uses names like
env<p>:server<listits1m4vm1>:app<listit>:rpcServerEnter
endTiming(Object, boolean).
public void endTiming(java.lang.Object event,
boolean success)
event - the object returned by the corresponding call to startTiming(String) of the measurement.success - The runtime reports if the measured operation completet without errors in this parameter.
If the measured operation resulted in an exception false is passed here.
public void reportValue(java.lang.String varName,
int value,
boolean success)
varName - The name of the observed variable.value - The numeric value of the parameter to report.success - Indicates if the observation should be reported as success or error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||