@Component(value="database") @Lazy public class DataBase extends Object implements GraphService
| 构造器和说明 |
|---|
DataBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addExceptionNode(ExceptionNode exceptionNode) |
ExceptionRelation |
addExceptionRelation(MethodNode sourceMethodNode,
ExceptionNode exceptionNode) |
void |
addMethodNode(MethodNode methodNode) |
MethodRelation |
addMethodRelation(MethodNode sourceMethodNode,
MethodNode targetMethodNode) |
void |
addParamAnalyse(String methodId,
Parameter[] names,
Object[] values,
double v) |
List<MethodInfo> |
getChildren(String methodId) |
List<String> |
getCondidates(String question) |
List<MethodInfo> |
getControllers() |
List<ExceptionInfo> |
getExceptionInfos(String exceptionId) |
List<ExceptionNode> |
getExceptions() |
List<ExceptionInfo> |
getExceptions(String methodId) |
Map<String,ParamMetric> |
getMethodParamGraph(String methodId) |
Connection |
getReadConnection() |
SystemStatistic |
getRunStatistic() |
MethodInfo |
getTree(String methodId) |
Connection |
getWriteConnection() |
void |
initConnection() |
void |
recursionMethod(MethodInfo rootInfo,
List<String> methodInfos) |
List<MethodInfo> |
searchMethods(String question) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstancepublic void initConnection()
public Connection getReadConnection()
public Connection getWriteConnection()
public void addMethodNode(MethodNode methodNode)
addMethodNode 在接口中 GraphServicepublic void addExceptionNode(ExceptionNode exceptionNode)
addExceptionNode 在接口中 GraphServicepublic MethodRelation addMethodRelation(MethodNode sourceMethodNode, MethodNode targetMethodNode)
addMethodRelation 在接口中 GraphServicepublic ExceptionRelation addExceptionRelation(MethodNode sourceMethodNode, ExceptionNode exceptionNode)
addExceptionRelation 在接口中 GraphServicepublic void addParamAnalyse(String methodId, Parameter[] names, Object[] values, double v)
addParamAnalyse 在接口中 GraphServicepublic MethodInfo getTree(String methodId)
getTree 在接口中 GraphServicepublic void recursionMethod(MethodInfo rootInfo, List<String> methodInfos)
public Map<String,ParamMetric> getMethodParamGraph(String methodId)
getMethodParamGraph 在接口中 GraphServicepublic SystemStatistic getRunStatistic()
getRunStatistic 在接口中 GraphServicepublic List<MethodInfo> getControllers()
getControllers 在接口中 GraphServicepublic List<String> getCondidates(String question)
getCondidates 在接口中 GraphServicepublic List<MethodInfo> searchMethods(String question)
searchMethods 在接口中 GraphServicepublic List<MethodInfo> getChildren(String methodId)
getChildren 在接口中 GraphServicepublic List<ExceptionInfo> getExceptionInfos(String exceptionId)
getExceptionInfos 在接口中 GraphServicepublic List<ExceptionInfo> getExceptions(String methodId)
getExceptions 在接口中 GraphServicepublic List<ExceptionNode> getExceptions()
getExceptions 在接口中 GraphServiceCopyright © 2022. All rights reserved.