Class TouchPointCollector
- java.lang.Object
-
- org.eclipse.steady.java.monitor.touch.TouchPointCollector
-
public class TouchPointCollector extends Object
TouchPointCollector class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTouchPointCollector.Direction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTouchPoint(org.eclipse.steady.java.monitor.touch.TouchPointCollector.TouchPoint _tp)Adds the given touch point to the list of touch points collected during the tests.static voidcallback(String _callee_type, String _callee_qname, ClassLoader _class_loader, URL _callee_url, boolean callee_in_app, StackTraceElement[] _stacktrace, String _app_groupid, String _app_artifactid, String _app_version, Map<String,Serializable> _callee_params)callback.static TouchPointCollectorgetInstance()Getter for the fieldinstance.JarAnalyzergetJarAnalyzerByPath(String _jar_path)getJarAnalyzerByPath.Set<org.eclipse.steady.java.monitor.touch.TouchPointCollector.TouchPoint>getTouchPoints()Getter for the fieldtouchPoints.voiduploadInformation(AbstractGoal _exe, int _batch_size)The instrumentation code created byTouchPointInstrumentor.instrument(StringBuffer, JavaId, CtBehavior, ClassVisitor)will call this callback method if it is possible to determine the caller (through stack trace analysis).
-
-
-
Method Detail
-
getInstance
public static TouchPointCollector getInstance()
Getter for the field
instance.- Returns:
- a
TouchPointCollectorobject.
-
addTouchPoint
public void addTouchPoint(org.eclipse.steady.java.monitor.touch.TouchPointCollector.TouchPoint _tp)
Adds the given touch point to the list of touch points collected during the tests. This method is called by the callback methodcallback(String, String, ClassLoader, URL, boolean, StackTraceElement[], String, String, String, Map).- Parameters:
_tp- aTouchPointCollector.TouchPointobject.
-
getTouchPoints
public Set<org.eclipse.steady.java.monitor.touch.TouchPointCollector.TouchPoint> getTouchPoints()
Getter for the field
touchPoints.- Returns:
- a
Setobject.
-
getJarAnalyzerByPath
public JarAnalyzer getJarAnalyzerByPath(String _jar_path)
getJarAnalyzerByPath.
- Parameters:
_jar_path- aStringobject.- Returns:
- a
JarAnalyzerobject.
-
callback
public static void callback(String _callee_type, String _callee_qname, ClassLoader _class_loader, URL _callee_url, boolean callee_in_app, StackTraceElement[] _stacktrace, String _app_groupid, String _app_artifactid, String _app_version, Map<String,Serializable> _callee_params)
callback.
- Parameters:
_callee_type- aStringobject._callee_qname- aStringobject._class_loader- aClassLoaderobject._callee_url- aURLobject.callee_in_app- a boolean._stacktrace- an array ofStackTraceElementobjects._app_groupid- aStringobject._app_artifactid- aStringobject._app_version- aStringobject._callee_params- aMapobject.
-
uploadInformation
public void uploadInformation(AbstractGoal _exe, int _batch_size)
The instrumentation code created byTouchPointInstrumentor.instrument(StringBuffer, JavaId, CtBehavior, ClassVisitor)will call this callback method if it is possible to determine the caller (through stack trace analysis).- Parameters:
_exe- aAbstractGoalobject._batch_size- a int.
-
-