All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.core.Trace
java.lang.Object
|
+----edu.utah.janos.core.Trace
public class Trace
extends java.lang.Object
{
// Fields 23
public static final long ANTS_APP;
public static final long ANTS_CAPSULECHANNEL;
public static final long ANTS_CONSOLE;
public static final long ANTS_DEMULTIPLEX;
public static final long ANTS_DL;
public static final long ANTS_OUTGOING;
public static final long ANTS_ROUTEINFO;
public static final long ANTS_ROUTE_READ_TABLE;
public static final long ANTS_ROUTE_TIMER;
public static final long ANTS_ROUTE_UPDATE;
public static final long ANTS_STARTUP;
public static final long CORE_BUFH;
public static final long CORE_DISPATCH;
public static final long CORE_INCOMING;
public static final long CORE_OUTGOING;
private static final int MAX_FLAGS;
public static final long ROUTE_UPDATE;
private static final Hashtable compositeFlags;
private static boolean debugTrace;
private static final String defaultFlags;
private static final String flagPropKey;
private static long flags;
private static final String[] names;
// Constructors 1
public Trace();
// Methods 3
public static final boolean check(long);
private static final void setFlag(int);
private static void setFlags(String);
}
Control for the trace macros spread through-out creation.
XXX Use intern() and ==.
%AUTHOR_PAT%
private static long flags
The set of bit flags describing which trace flags
are on and which are off.
private static final String defaultFlags
Default trace flags. For a "production" environment
this could be null/empty.
private static final String flagPropKey
The property to look at to find flags at run time.
private static final int MAX_FLAGS
The maximum number of Trace flags that are supported.
Could be bigger if BitSet was used.
private static final String[] names
An array of string names. The index of the name
is the *bit offset* of the flag in the flags
set.
private static final Hashtable compositeFlags
A mapping of string names to Long objects. Each Long
contains the set of bits the name represents.
private static boolean debugTrace
Control debugging of this class. Obviously, this isn't
set via one of the debug flags.
public static final long CORE_INCOMING
public static final long CORE_BUFH
public static final long CORE_OUTGOING
public static final long CORE_DISPATCH
public static final long ROUTE_UPDATE
public static final long ANTS_ROUTE_READ_TABLE
public static final long ANTS_ROUTE_UPDATE
public static final long ANTS_ROUTE_TIMER
public static final long ANTS_DEMULTIPLEX
public static final long ANTS_APP
public static final long ANTS_CAPSULECHANNEL
public static final long ANTS_STARTUP
public static final long ANTS_DL
public static final long ANTS_OUTGOING
public static final long ANTS_ROUTEINFO
public static final long ANTS_CONSOLE
public Trace()
Default constructor
private static void setFlags(String flagsStr)
public static final boolean check(long mask)
private static final void setFlag(int idx)
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7