public class ThreadTracker extends Object
public void someMethod() {
ThreadTracker.track("someMethod");
...
}
and at some stage call result
to get a LOG
output of the callers with an associated call countConstructor and Description |
---|
ThreadTracker() |
Modifier and Type | Method and Description |
---|---|
static void |
result()
output the result of stack trace capture to the log
|
static void |
track(String name)
track the stack trace of callers
|
public static void track(String name)
name
- the method being trackedpublic static void result()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.