net.ontopia.utils
Class TraceUtils

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

public class TraceUtils
extends 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(String method)
           
static Map getSyncMap()
           
static void leave(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 Map getSyncMap()

enter

public static void enter(String method)

leave

public static void leave(String method)


Copyright © 2000-2012 Ontopia.