|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.monitoring.TimeingEvent
Wrapper class for sITSolutions monitoring, now working with the monitoring plugin, for independence and extendability to other monitoring solutions. If no monitoring plugin is configured, all its method do nothing.
Each instance of this class constitutes one time measurement. The measurement is started by calling the
constructor and ended by calling either success() or failure().
| Constructor Summary | |
TimeingEvent(java.lang.String varName)
Constructor, starts a new measurement. |
|
| Method Summary | |
void |
failure()
Ends the measusuremnt with a failure status. |
static void |
failure(java.lang.String variable,
int value)
Reports observations like the size of an RPC to the monitoring system. |
void |
success()
Ends the measurement with a success status. |
static void |
success(java.lang.String variable,
int value)
Reports observations like the size of an RPC to the monitoring system. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimeingEvent(java.lang.String varName)
varName - name of the variable to measure.| Method Detail |
public void success()
public void failure()
public static void success(java.lang.String variable,
int value)
variable - the name of the parameter to reportvalue - the value of the parameter to report.
public static void failure(java.lang.String variable,
int value)
variable - the name of the parameter to reportvalue - the value of the parameter to report.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||