|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EtmPoint
The EtmPoint represents one measurement.
Usage example:
EtmMonitor monitor = ...;
EtmPoint point = monitor.createPoint("name");
try {
// execute business code
} finally {
point.collect();
}
| Method Summary | |
|---|---|
void |
alterName(java.lang.String newName)
Alters the name of the measurement point. |
void |
collect()
Marks the current measurement as finished. |
long |
getEndTime()
Returns the end time of the measurement in the ExecutionTimer
dependend precision. |
java.lang.String |
getName()
Returns the name of the measurement point. |
EtmPoint |
getParent()
Returns the parent of this measurement point. |
long |
getStartTime()
Returns the start time of the measurement in the ExecutionTimer
dependend precision. |
long |
getStartTimeMillis()
Returns the time the measurement was startet. |
long |
getTicks()
Returns the number of ticks per milisecond as provided by the used ExecutionTimer. |
double |
getTransactionTime()
Returns the calculated processing time in miliseconds. |
| Method Detail |
|---|
void collect()
java.lang.IllegalStateException - Thrown in case the name of the measurement point is null.void alterName(java.lang.String newName)
newName - The new name of the measurement point.java.lang.String getName()
long getStartTime()
ExecutionTimer
dependend precision.
getTicks()long getEndTime()
ExecutionTimer
dependend precision.
getTicks()long getTicks()
ExecutionTimer.
EtmPoint getParent()
double getTransactionTime()
long getStartTimeMillis()
System.currentTimeMillis
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||