|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.profiler.ProfilingKeyAdapter
An instance(adapter) of this class should be created by any service that
wants to have any of its operations to be profiled. 1 adapter needs
to created for each operation. An adapter is identified by its dispName(eg
SQL, CACHE) which is mandatory. costName(eg num_rows)
and dataName(eg bind parameters) need not be provided during this adapter
creation if cost and data will not be reported by the
operation being profiled.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
costName
|
private String |
dataName
|
private String |
dispName
|
private static int |
HASH_PRIME
|
private boolean |
opEnabledInGUI
|
private static String |
RESOURCE
|
static boolean |
VERBOSE
|
Constructor Summary | |
ProfilingKeyAdapter()
Empty constructor |
|
ProfilingKeyAdapter(String dispString,
String costString,
String dataString)
Constructor for creating an adapter |
Method Summary | |
void |
EnabledInGUI(boolean flag)
|
boolean |
equals(Object o)
|
String |
getCostName()
Gets the value of the attribute: costName; Name of the cost being reported by an operation eg num_rows for SQL |
String |
getDataName()
Gets the value of the attribute: dataName; Name of the data being reported eg bind_parameters for SQL |
String |
getDispName()
Gets the value of the attribute: dispName; Adapter Name type eg SQL, CACHE, |
int |
hashCode()
|
boolean |
optEnabledInGUI()
|
void |
setCostName(String a_CostName)
Sets the value of the attribute: costName; Name of the cost being reported by an operation eg num_rows for SQL |
void |
setDataName(String a_DataName)
Sets the value of the attribute: dataName; Name of the data being reported eg bind_parameters for SQL |
void |
setDispName(String a_DispName)
Sets the value of the attribute: dispName; Adapter Name type eg SQL, CACHE, |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String dispName
private String costName
private String dataName
public static boolean VERBOSE
private static final int HASH_PRIME
private boolean opEnabledInGUI
Constructor Detail |
public ProfilingKeyAdapter(String dispString, String costString, String dataString)
dispString
- costString
- dataString
- public ProfilingKeyAdapter()
Method Detail |
public String getDispName()
getDispName
in interface ProfilingKey
public void setDispName(String a_DispName)
a_DispName
- public String getCostName()
getCostName
in interface ProfilingKey
public void setCostName(String a_CostName)
a_CostName
- public String getDataName()
getDataName
in interface ProfilingKey
public void setDataName(String a_DataName)
a_DataName
- public int hashCode()
public boolean equals(Object o)
o
-
public String toString()
public void EnabledInGUI(boolean flag)
public boolean optEnabledInGUI()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |