org.erights.e.elib.debug
Class CallCounter

java.lang.Object
  |
  +--org.erights.e.elib.debug.CallCounter

public class CallCounter
extends Object

Untamed:


Field Summary
private  long myBadCount
           
private  long myOkCount
           
private  Object myProfKey
           
private static java.text.NumberFormat NF
           
 
Constructor Summary
(package private) CallCounter(Object profKey)
           
 
Method Summary
 void bumpBadCount()
          Enabled:
 void bumpOkCount()
          Enabled:
(package private)  void clearCallCounts()
           
(package private)  long getBadCount()
           
(package private)  long getOkCount()
           
(package private)  void report(double thresh, double total, FlexList result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NF

private static final java.text.NumberFormat NF

myProfKey

private final Object myProfKey

myOkCount

private long myOkCount

myBadCount

private long myBadCount
Constructor Detail

CallCounter

CallCounter(Object profKey)
Method Detail

getOkCount

long getOkCount()

getBadCount

long getBadCount()

bumpOkCount

public void bumpOkCount()
Enabled:


bumpBadCount

public void bumpBadCount()
Enabled:


clearCallCounts

void clearCallCounts()

report

void report(double thresh,
            double total,
            FlexList result)


comments?