public class ModelManager extends Object
| Constructor and Description |
|---|
ModelManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLink(Node parent,
Node child,
String serviceName) |
void |
addNode(Node node) |
com.google.common.graph.MutableNetwork<Node,String> |
getDependencyGraph() |
Model |
getDependencyModel(long fromTime,
long toTime,
String cellName) |
Model |
getDependencyModel(long fromTime,
long toTime,
String cellName,
String serviceName) |
Model |
getGraph(long fromTime,
long toTime) |
Node |
getNode(String nodeName) |
Node |
getOrGenerateNode(String nodeName) |
public ModelManager()
throws ModelException
ModelExceptionpublic void addNode(Node node)
public Model getGraph(long fromTime, long toTime) throws GraphStoreException
GraphStoreExceptionpublic Model getDependencyModel(long fromTime, long toTime, String cellName) throws GraphStoreException
GraphStoreExceptionpublic Model getDependencyModel(long fromTime, long toTime, String cellName, String serviceName) throws GraphStoreException
GraphStoreExceptionCopyright © 2019 WSO2. All rights reserved.