use of io.fabric8.apmagent.ClassInfo in project fabric8 by jboss-fuse.
the class ApmAgentContext method getClassInfo.
public ClassInfo getClassInfo(String className) {
String key = className.replace('/', '.');
ClassInfo result = allMethods.get(key);
if (result == null) {
ClassInfo classInfo = new ClassInfo();
classInfo.setClassName(key);
result = allMethods.putIfAbsent(key, classInfo);
if (result == null) {
result = classInfo;
}
}
return result;
}
use of io.fabric8.apmagent.ClassInfo in project fabric8 by fabric8io.
the class ApmAgentContext method resetAll.
public void resetAll(ClassInfo classInfo) {
Collection<MethodDescription> list = classInfo.getTransformedMethodDescriptions();
for (MethodDescription methodDescription : list) {
remove(methodDescription);
}
classInfo.resetTransformed();
}
use of io.fabric8.apmagent.ClassInfo in project fabric8 by fabric8io.
the class ApmAgentContext method getClassInfo.
public ClassInfo getClassInfo(String className) {
String key = className.replace('/', '.');
ClassInfo result = allMethods.get(key);
if (result == null) {
ClassInfo classInfo = new ClassInfo();
classInfo.setClassName(key);
result = allMethods.putIfAbsent(key, classInfo);
if (result == null) {
result = classInfo;
}
}
return result;
}
Aggregations