|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.services.perflog.TrackingInfo
Used to encapsulate an arbitrary Object with a timestamp. The PerfLogger maintains a stack of TrackingInfo objects in order to keep track of arbitrarily nested calls.
Copyright 2000-2003 Sapient
Field Summary | |
protected long |
startTime
Used to store the time the object was created, which is deemed to be the start time. |
protected Object |
trackedObject
Used to keep a reference to the object being tracked. |
Constructor Summary | |
(package private) |
TrackingInfo(Object trackedObject)
Creates a new TrackingInfo object used to keep track of the object passed in. |
Method Summary | |
(package private) long |
getStartTime()
Getter for the time the tracking of the object started. |
(package private) Object |
getTrackedObject()
Getter for the tracked object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long startTime
Used to store the time the object was created, which is deemed to be the start time.
protected Object trackedObject
Used to keep a reference to the object being tracked.
Constructor Detail |
TrackingInfo(Object trackedObject)
Creates a new TrackingInfo object used to keep track of the object passed in. The startTime attribute is set to the System.currentTimeMillis() at the time the constructor is invoked.
trackedObject
- the object being tracked.Method Detail |
long getStartTime()
Getter for the time the tracking of the object started.
long
start time of the track in milliseconds.Object getTrackedObject()
Getter for the tracked object.
Object
the tracked object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |