com.irs.jam
Class PlanParallelConstruct
java.lang.Object
|
+--com.irs.jam.PlanConstruct
|
+--com.irs.jam.PlanParallelConstruct
- All Implemented Interfaces:
- java.io.Serializable
- public class PlanParallelConstruct
- extends PlanConstruct
- implements java.io.Serializable
Represents a parallel-execution construct within plans
- See Also:
- Serialized Form
Field Summary |
protected java.util.Vector |
_threads
|
Fields inherited from class com.irs.jam.PlanConstruct |
_constructType, PLAN_ATOMIC, PLAN_BRANCH, PLAN_DO, PLAN_DOALL, PLAN_DOANY, PLAN_PARALLEL, PLAN_SEQUENCE, PLAN_SIMPLE, PLAN_UNDEFINED, PLAN_WAIT, PLAN_WHEN, PLAN_WHILE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_threads
protected java.util.Vector _threads
PlanParallelConstruct
public PlanParallelConstruct()
PlanParallelConstruct
public PlanParallelConstruct(PlanConstruct be)
- Create a number of sequences of constructs and actions that will
be managed as threads by this construct.
getConstructs
public java.util.Vector getConstructs()
getNumConstructs
public int getNumConstructs()
newRuntimeState
public PlanRuntimeState newRuntimeState()
- Overrides:
newRuntimeState
in class PlanConstruct
insertConstruct
public void insertConstruct(PlanConstruct be)
- Add an action/construct to this sequence of actions/constructs
getConstruct
public PlanConstruct getConstruct(int n)
- Return the indicated construct in the construct/action sequence