|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sap.util.monitor.jarm.ApplThreadOverview
Structure contains the data to be shown for the application thread snapshot.
One instance contains the data of one thread. Instances exists only for threads which have already processed and monitored requests: - no information about other threads in the system are given - only application specific information is returned + the thread handle - via the thread handle system specific thread information could be fetchedThe fields are public, to allow faster access on them. Unused String fields could be null or space. Timestamps are in 'ms' as returned by System.currentTimeMillis(). Time (duration) is in 'ms', data in bytes.
| Field Summary | |
java.lang.String |
action
currently processed action |
boolean |
active
active flag; true <-> Thread is currently active for a request |
java.lang.String |
compName
name of currently processed component |
long |
compTime
elapsed time already spent for the component |
long |
firstTaskTS
start timestamp of first request/task in this thread |
java.lang.Thread |
myThread
corresponding thread object |
java.lang.String |
reqName
name of request |
long |
reqTime
elapsed time already spent for the request |
long |
sumTaskTime
elapsed time which was used by requests in this thread |
java.lang.String |
taskName
name of thread specific task; in the current implementation there are no async. tasks -> reqName = taskName |
long |
taskTime
elapsed time already spent for the task; (now: reqTime = taskTime) |
java.lang.String |
threadName
name of thread |
java.lang.String |
userName
user id |
| Constructor Summary | |
ApplThreadOverview()
|
|
| Method Summary | |
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
|
boolean |
equals(java.lang.Object obj)
implementation of equals method of Comparator interface thread name is used for comparison; there is no need to call the method externally; it is public because of the Comparator interface |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.Thread myThread
public java.lang.String threadName
public long firstTaskTS
public long sumTaskTime
public boolean active
public java.lang.String userName
public java.lang.String reqName
public java.lang.String taskName
public java.lang.String compName
public java.lang.String action
public long reqTime
public long taskTime
public long compTime
| Constructor Detail |
public ApplThreadOverview()
| Method Detail |
public int compare(java.lang.Object obj1,
java.lang.Object obj2)
compare in interface java.util.Comparatorpublic boolean equals(java.lang.Object obj)
equals in interface java.util.Comparatorequals in class java.lang.Objectobj - ApplThreadOverview object to compare
|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||