All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.nodeos.Trace
java.lang.Object
|
+----edu.utah.janos.nodeos.Trace
public class Trace
extends java.lang.Object
{
// Fields 25
public static final long ANTSR_APP;
public static final long ANTSR_CAPSULECHANNEL;
public static final long ANTSR_CONSOLE;
public static final long ANTSR_DEMULTIPLEX;
public static final long ANTSR_DYNLOAD;
public static final long ANTSR_OUTGOING;
public static final long ANTSR_ROUTEINFO;
public static final long ANTSR_ROUTE_READ_TABLE;
public static final long ANTSR_ROUTE_TIMER;
public static final long ANTSR_ROUTE_UPDATE;
public static final long ANTSR_STARTUP;
private static final int MAX_FLAGS;
public static final long NODEOS_BUFH;
public static final long NODEOS_CLASSLOAD;
public static final long NODEOS_DESTROY;
public static final long NODEOS_DISPATCH;
public static final long NODEOS_INCOMING;
public static final long NODEOS_OUTGOING;
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 5
public static final boolean check(long);
public static String[] getNameList();
private static final void setFlag(int);
public static void setFlags(PrintStream, String);
public static void setFlags(String);
}
Control for the trace macros spread through-out creation.
XXX Use intern() and ==.
- Author:
-
Janos Ministry of Development
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 NODEOS_INCOMING
public static final long NODEOS_BUFH
public static final long NODEOS_OUTGOING
public static final long NODEOS_DISPATCH
public static final long NODEOS_CLASSLOAD
public static final long NODEOS_DESTROY
public static final long ROUTE_UPDATE
public static final long ANTSR_ROUTE_READ_TABLE
public static final long ANTSR_ROUTE_UPDATE
public static final long ANTSR_ROUTE_TIMER
public static final long ANTSR_DEMULTIPLEX
public static final long ANTSR_APP
public static final long ANTSR_CAPSULECHANNEL
public static final long ANTSR_STARTUP
public static final long ANTSR_DYNLOAD
public static final long ANTSR_OUTGOING
public static final long ANTSR_ROUTEINFO
public static final long ANTSR_CONSOLE
public Trace()
Default constructor
public static String[] getNameList()
public static void setFlags(String flagsStr)
public static void setFlags(PrintStream out,
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