|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.common.TimeTracker
public class TimeTracker
The TimeTracker Class is used to measure time differences, in milliseconds.
Constructor Summary | |
---|---|
TimeTracker()
|
Method Summary | |
---|---|
long |
GetCheckpointTimeFromCheckpoint(java.lang.String startCheckpoint,
java.lang.String endCheckpoint)
GetCheckpointTimeFromStart attempts to retrieve the two checkpoints with the keys given. |
long |
GetCheckpointTimeFromStart(java.lang.String checkpoint)
GetCheckpointTimeFromStart attempts to retrieve a checkpoint with the key given. |
long |
GetTotalTime()
The time in milliseconds since the TimeTracker creation or the last Reset() is returned. |
void |
Reset()
The TimeTracker is reset. |
void |
SetCheckpoint(java.lang.String checkpoint)
SetCheckpoint is used to create a time checkpiont for later retrieval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeTracker()
Method Detail |
---|
public void Reset()
public long GetTotalTime()
public void SetCheckpoint(java.lang.String checkpoint)
checkpoint
- public long GetCheckpointTimeFromStart(java.lang.String checkpoint)
checkpoint
-
public long GetCheckpointTimeFromCheckpoint(java.lang.String startCheckpoint, java.lang.String endCheckpoint)
startCheckpoint
- endCheckpoint
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |