|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.TaskHeap.PlanCalculator.PlanCalculatorNodeDecl
The PlanCalculator calculates the timeEstimate for a plan. You send it a PlanRecalc, and it sends you back the plan with the time estimate filled in. A website deployment will typically run one instance of this node to provide plan calculation support for all heap users. A standalone client application might run its own local instance of this node to allow users to work through various scenarios without updating the central heap.
PlanComponents are updated separately. There is no "locking" behavior for plans, and recalculation is done off of the data retrieved at the time. Transaction locking is optimistic.
outbound synchronous message calls:
PlanCollection callPlanQuery(PlanQuery msg)TaskCollection callTaskQuery(TaskQuery msg)ExternalPlanCollection callExternalPlanQuery(ExternalPlanQuery msg)Ping callUpdaterNode(Ping msg)inbound synchronous message calls:
PlanRecalc onReceive(PlanRecalc msg)outbound asynchronous message sends:
void send(Plan msg)| Field Summary | |
java.lang.String |
iDLookupInstanceName
The instance name of a local node that implements IDLookup. |
int |
recursionLevel
When recalculating a plan, the calculator walks the tree of plan components starting from the given plan. |
| Constructor Summary | |
PlanCalculatorNodeDecl()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int recursionLevel
If a plan component is not owned, then it is included as part of the calculation for its immediately containing plan, according to the current top level plan being calculated.
enumerated constant values:
_OWNER = 0_FULL = 1public java.lang.String iDLookupInstanceName
| Constructor Detail |
public PlanCalculatorNodeDecl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||