|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.dan.GraphManager
A graph manager maintains individual DAN graph that is potentially distributed across several Planets.
Field Summary | |
protected DanService |
_dan
The DAN service to which this graph manager is affiliated. |
protected GraphSpec |
_gs
The graph spec to be mantained. |
protected NodeManager |
_nodeman
The node manager holding the table (node_guid, NodeHandler). |
protected java.util.Hashtable |
_nodes
The table of (node_guid, current_address). |
protected java.util.Hashtable |
_optable
The table of (op_name, node_guid). |
Constructor Summary | |
GraphManager(GraphSpec gs)
Constructs the manager with its reponsible graph spec. |
Method Summary | |
Address |
getAddress(Guid guid)
Return the currrent address of the node with specified guid. |
Guid |
getGuid(java.lang.String opname)
Return the guid for loaded operator defined in graph spec. |
void |
init(DanService dan)
Init the graph manager. |
abstract Guid |
loadOperator(java.lang.String opname)
Load the root operator and all its children as defined in the graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected GraphSpec _gs
protected java.util.Hashtable _nodes
protected java.util.Hashtable _optable
protected DanService _dan
protected NodeManager _nodeman
Constructor Detail |
public GraphManager(GraphSpec gs)
Method Detail |
public void init(DanService dan)
public Guid getGuid(java.lang.String opname)
public Address getAddress(Guid guid)
public abstract Guid loadOperator(java.lang.String opname) throws DanException
DanException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |