net.ontopia.utils
Class TraceUtils

java.lang.Object
  extended by net.ontopia.utils.TraceUtils

public class TraceUtils
extends java.lang.Object

INTERNAL: Useful tracing methods. This class can be used to validate calls that enter and leave methods. The specified method name plus the current thread is used as key. A counter is maintained for methods that have been entered.


Constructor Summary
TraceUtils()
           
 
Method Summary
static void enter(java.lang.String method)
           
static java.util.Map getSyncMap()
           
static void leave(java.lang.String method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceUtils

public TraceUtils()
Method Detail

getSyncMap

public static java.util.Map getSyncMap()

enter

public static void enter(java.lang.String method)

leave

public static void leave(java.lang.String method)


Copyright © 2000-2012 Ontopia.