public class Top extends Object
Top
resets its counters, allowing for a display of the
JSP files that are active at any one timeModifier and Type | Field and Description |
---|---|
static long |
SAMPLE_INTERVAL |
Constructor and Description |
---|
Top() |
Modifier and Type | Method and Description |
---|---|
void |
start(String pPath)
Indicate that the current thread is busy processing a specific path, or if it is idling.
|
Map<String,Long> |
top()
Calculates the results of the last second or so of traffic and returns a
Map which contains the names of all the paths that were started, mapped to
a sum of all the milliseconds in that
|
public static final long SAMPLE_INTERVAL
public void start(String pPath)
pPath
- The path of whatever we're busy working on, or null
if the thread is not working on anything anymore© 1998- 2018 Stibo DX