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 count| Constructor and Description |
|---|
ThreadTracker() |
public static void track(String name)
name - the method being trackedpublic static void result()
Copyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.