|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.tf.spi.EnhancedClassDataBase
public abstract class EnhancedClassDataBase
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.pfl.tf.spi.EnhancedClassData |
|---|
EnhancedClassData.MethodType |
| Field Summary | |
|---|---|
protected Set<String> |
annoNamesForClass
|
protected Set<String> |
annotationNames
|
protected Map<String,String> |
annoToHolderName
|
protected String |
className
|
protected Set<String> |
infoMethodDescs
|
protected List<String> |
methodAnnoList
|
protected List<String> |
methodDescriptions
|
protected List<String> |
methodNames
|
protected Map<String,String> |
methodToAnno
|
protected List<String> |
methodTPNames
|
protected List<TimingPointType> |
methodTPTs
|
protected Set<String> |
mmMethodDescs
|
protected Util |
util
|
| Fields inherited from interface org.glassfish.pfl.tf.spi.EnhancedClassData |
|---|
DESCRIPTION_NAME, INFO_METHOD_NAME, MM_NAME, MM_TYPE, OBJECT_NAME, OBJECT_TYPE, SH_NAME, SH_TYPE |
| Constructor Summary | |
|---|---|
protected |
EnhancedClassDataBase(Util util,
Set<String> annotationNames)
|
| Method Summary | |
|---|---|
EnhancedClassData.MethodType |
classifyMethod(String fullMethodDescriptor)
Classify the method. |
Map<String,String> |
getAnnotationToHolderName()
Map from MM annotation name to the name of the holder field that contains the SynchronizedHolder for the corresponding MethodMonitor. |
String |
getClassName()
Return the internal name of the class. |
List<String> |
getDescriptions()
List of descriptions of monitored methods and info methods. |
String |
getHolderName(String fullMethodDescriptor)
Name of the holder fields corresponding to a particular method. |
int |
getMethodIndex(String methodName)
Index of method name in the list of method names. |
List<String> |
getMethodMMAnnotationName()
List of annotation names for each info method and monitored method. |
List<String> |
getMethodNames()
List of method names for all MM methods and info methods in the class. |
List<String> |
getTimingPointNames()
List of timing point names corresponding to method names. |
List<TimingPointType> |
getTimingPointTypes()
List of timing point types of monitored methods and info methods. |
boolean |
isTracedClass()
Returns true iff this class is monitored. |
void |
updateInfoDesc()
Enhance all of the descriptors for infoMethods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Util util
protected final Set<String> annotationNames
protected String className
protected final Set<String> annoNamesForClass
protected final Map<String,String> annoToHolderName
protected final List<String> methodNames
protected final List<String> methodDescriptions
protected final List<TimingPointType> methodTPTs
protected final List<String> methodTPNames
protected final List<String> methodAnnoList
protected final Set<String> infoMethodDescs
protected final Set<String> mmMethodDescs
protected final Map<String,String> methodToAnno
| Constructor Detail |
|---|
protected EnhancedClassDataBase(Util util,
Set<String> annotationNames)
| Method Detail |
|---|
public String getClassName()
EnhancedClassData
getClassName in interface EnhancedClassDatapublic Map<String,String> getAnnotationToHolderName()
EnhancedClassData
getAnnotationToHolderName in interface EnhancedClassDatapublic List<String> getMethodNames()
EnhancedClassData
getMethodNames in interface EnhancedClassDatapublic int getMethodIndex(String methodName)
EnhancedClassData
getMethodIndex in interface EnhancedClassDatamethodName - The method name as defined for tracing.
public String getHolderName(String fullMethodDescriptor)
EnhancedClassData
getHolderName in interface EnhancedClassDatafullMethodDescriptor - The full method descriptor of the method.
public EnhancedClassData.MethodType classifyMethod(String fullMethodDescriptor)
EnhancedClassData
classifyMethod in interface EnhancedClassDatafullMethodDescriptor - The full method descriptor of the method.
public boolean isTracedClass()
EnhancedClassData
isTracedClass in interface EnhancedClassDatapublic void updateInfoDesc()
EnhancedClassData
updateInfoDesc in interface EnhancedClassDatapublic List<String> getDescriptions()
getDescriptions in interface EnhancedClassDatapublic List<TimingPointType> getTimingPointTypes()
getTimingPointTypes in interface EnhancedClassDatapublic List<String> getTimingPointNames()
EnhancedClassData
getTimingPointNames in interface EnhancedClassDatapublic List<String> getMethodMMAnnotationName()
EnhancedClassData
getMethodMMAnnotationName in interface EnhancedClassData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||