wt.org
Class TaskProfKey

java.lang.Object
  extended bywt.tools.profiler.ProfilingKeyAdapter
      extended bywt.org.TaskProfKey
All Implemented Interfaces:
ProfilingKey, ProfilingListener, Serializable

public class TaskProfKey
extends ProfilingKeyAdapter
implements ProfilingListener

This class provides the ability to profile Infoengine Tasks via the Profiling service. Called in the com.infoengine.SAK.Task.invoke() and com.infoengine.SAK.ProfReflection.java

See Also:
Serialized Form

Field Summary
static TaskProfKey instance
           
static String TASK_DATA_NAME
           
static String TASK_DISP_NAME
           
private static boolean taskProfEnabled
           
 
Fields inherited from class wt.tools.profiler.ProfilingKeyAdapter
VERBOSE
 
Constructor Summary
private TaskProfKey()
           
 
Method Summary
static TaskProfKey getInstance()
           
static boolean isTaskProfEnabled()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class wt.tools.profiler.ProfilingKeyAdapter
EnabledInGUI, equals, getCostName, getDataName, getDispName, hashCode, optEnabledInGUI, setCostName, setDataName, setDispName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TASK_DATA_NAME

public static final String TASK_DATA_NAME
See Also:
Constant Field Values

TASK_DISP_NAME

public static final String TASK_DISP_NAME
See Also:
Constant Field Values

taskProfEnabled

private static boolean taskProfEnabled

instance

public static TaskProfKey instance
Constructor Detail

TaskProfKey

private TaskProfKey()
Method Detail

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface ProfilingListener
Parameters:
enabled -

getInstance

public static TaskProfKey getInstance()

isTaskProfEnabled

public static boolean isTaskProfEnabled()