|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.util.Trace
public class Trace
Provides for applicatin level call tracing, timing and memory tracing.
| Field Summary | |
|---|---|
static StringBuffer |
buff
_more_ |
static boolean |
displayMsg
_more_ |
static long |
lastMemory
_more_ |
static long |
lastTime
_more_ |
| Constructor Summary | |
|---|---|
Trace()
|
|
| Method Summary | |
|---|---|
static void |
accum1(String name)
_more_ |
static void |
accum2(String name)
_more_ |
static void |
addNot(String pattern)
_more_ |
static void |
addOnly(String pattern)
_more_ |
static void |
after(String m)
_more_ |
static void |
before(String m)
_more_ |
static void |
call1(String m)
_more_ |
static void |
call1(String m,
boolean print)
_more_ |
static void |
call1(String m,
String extra)
_more_ |
static void |
call1(String m,
String extra,
boolean print)
_more_ |
static void |
call2(String m)
_more_ |
static void |
call2(String m,
String extra)
_more_ |
static String[] |
changeFilters()
_more_ |
static void |
clearMsgs()
_more_ |
static void |
clearOnly()
Clear out any of the patterns previously added by the addOnly call |
static void |
count(String name)
_more_ |
static void |
deltaCurrentTab(int delta)
_more_ |
static List |
getNotThese()
_more_ |
static List |
getOnlyThese()
_more_ |
static void |
msg(String m)
_more_ |
static void |
printAccum()
_more_ |
static void |
printAndClearCount()
_more_ |
static void |
printMsgs()
_more_ |
static void |
removeOnly(String pattern)
_more_ |
static void |
setFilters(String notTheseText,
String onlyTheseText)
_more_ |
static void |
setShowLineNumbers(boolean v)
_more_ |
static void |
startTrace()
_more_ |
static void |
stopTrace()
_more_ |
static boolean |
traceActive()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean displayMsg
public static long lastMemory
public static long lastTime
public static StringBuffer buff
| Constructor Detail |
|---|
public Trace()
| Method Detail |
|---|
public static List getNotThese()
public static List getOnlyThese()
public static void addNot(String pattern)
pattern - _more_public static void addOnly(String pattern)
pattern - _more_public static void removeOnly(String pattern)
pattern - _more_public static void clearOnly()
public static void setShowLineNumbers(boolean v)
v - _more_public static void startTrace()
public static void stopTrace()
public static boolean traceActive()
public static void deltaCurrentTab(int delta)
delta - public static String[] changeFilters()
public static void setFilters(String notTheseText,
String onlyTheseText)
notTheseText - _more_onlyTheseText - _more_public static void call1(String m)
m -
public static void call1(String m,
boolean print)
m - print -
public static void call1(String m,
String extra)
m - extra -
public static void call1(String m,
String extra,
boolean print)
m - extra - print - public static void call2(String m)
m -
public static void call2(String m,
String extra)
m - extra - public static void clearMsgs()
public static void printMsgs()
public static void before(String m)
m - public static void after(String m)
m - public static void msg(String m)
m - public static void accum1(String name)
name - _more_public static void accum2(String name)
name - _more_public static void printAccum()
public static void count(String name)
name - public static void printAndClearCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||