org.aspectbench.runtime.internal
Class CFlowCounter

java.lang.Object
  extended by org.aspectbench.runtime.internal.CFlowCounter

public class CFlowCounter
extends Object


Nested Class Summary
private static class CFlowCounter.Counter
           
 
Field Summary
private  CFlowCounter.Counter cached_counter
           
private  Thread cached_thread
           
private  int change_count
           
private static int COLLECT_AT
           
private  Hashtable counters
           
private static int MIN_COLLECT_AT
           
 
Constructor Summary
CFlowCounter()
           
 
Method Summary
 void dec()
           
static void decCounter(Object c)
           
static int depthCounter(Object c)
           
 Object getCounter()
           
private  CFlowCounter.Counter getThreadCounter()
           
 void inc()
           
static void incCounter(Object c)
           
 boolean isValid()
           
static boolean isValidCounter(Object c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counters

private Hashtable counters

cached_thread

private Thread cached_thread

cached_counter

private CFlowCounter.Counter cached_counter

change_count

private int change_count

COLLECT_AT

private static final int COLLECT_AT
See Also:
Constant Field Values

MIN_COLLECT_AT

private static final int MIN_COLLECT_AT
See Also:
Constant Field Values
Constructor Detail

CFlowCounter

public CFlowCounter()
Method Detail

getThreadCounter

private CFlowCounter.Counter getThreadCounter()

inc

public void inc()

dec

public void dec()

isValid

public boolean isValid()

getCounter

public Object getCounter()

incCounter

public static final void incCounter(Object c)

decCounter

public static final void decCounter(Object c)

isValidCounter

public static final boolean isValidCounter(Object c)

depthCounter

public static final int depthCounter(Object c)