All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.core.Trace
java.lang.Object
   |
   +----edu.utah.janos.core.Trace

  Summary

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%




  Fields

· flags

Summary  |  Top

   private static long flags

The set of bit flags describing which trace flags are on and which are off.


· defaultFlags

Summary  |  Top
   private static final String defaultFlags

Default trace flags. For a "production" environment this could be null/empty.


· flagPropKey

Summary  |  Top
   private static final String flagPropKey

The property to look at to find flags at run time.


· MAX_FLAGS

Summary  |  Top
   private static final int MAX_FLAGS

The maximum number of Trace flags that are supported. Could be bigger if BitSet was used.


· names

Summary  |  Top
   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.


· compositeFlags

Summary  |  Top
   private static final Hashtable compositeFlags

A mapping of string names to Long objects. Each Long contains the set of bits the name represents.


· debugTrace

Summary  |  Top
   private static boolean debugTrace

Control debugging of this class. Obviously, this isn't set via one of the debug flags.


· CORE_INCOMING

Summary  |  Top
   public static final long CORE_INCOMING


· CORE_BUFH

Summary  |  Top
   public static final long CORE_BUFH


· CORE_OUTGOING

Summary  |  Top
   public static final long CORE_OUTGOING


· CORE_DISPATCH

Summary  |  Top
   public static final long CORE_DISPATCH


· ROUTE_UPDATE

Summary  |  Top
   public static final long ROUTE_UPDATE


· ANTS_ROUTE_READ_TABLE

Summary  |  Top
   public static final long ANTS_ROUTE_READ_TABLE


· ANTS_ROUTE_UPDATE

Summary  |  Top
   public static final long ANTS_ROUTE_UPDATE


· ANTS_ROUTE_TIMER

Summary  |  Top
   public static final long ANTS_ROUTE_TIMER


· ANTS_DEMULTIPLEX

Summary  |  Top
   public static final long ANTS_DEMULTIPLEX


· ANTS_APP

Summary  |  Top
   public static final long ANTS_APP


· ANTS_CAPSULECHANNEL

Summary  |  Top
   public static final long ANTS_CAPSULECHANNEL


· ANTS_STARTUP

Summary  |  Top
   public static final long ANTS_STARTUP


· ANTS_DL

Summary  |  Top
   public static final long ANTS_DL


· ANTS_OUTGOING

Summary  |  Top
   public static final long ANTS_OUTGOING


· ANTS_ROUTEINFO

Summary  |  Top
   public static final long ANTS_ROUTEINFO


· ANTS_CONSOLE

Summary  |  Top
   public static final long ANTS_CONSOLE


  Constructors

· Trace

Summary  |  Top

   public Trace() 

Default constructor



  Methods

· setFlags

Summary  |  Top
   private static void setFlags(String flagsStr) 


· check

Summary  |  Top
   public static final boolean check(long mask) 


· setFlag

Summary  |  Top
   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