|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.engine.Engine
org.griphyn.cPlanner.engine.MainEngine
public class MainEngine
The central class that calls out to the various other components of Pegasus.
org.griphyn.cPlanner.classes.ReplicaLocations| Field Summary | |
|---|---|
private AuthenticateEngine |
mAuthEng
The handle to the Authentication Engine that performs the authentication with the various sites. |
private PegasusBag |
mBag
The bag of objects that is populated as planner is run. |
private ADag |
mCleanupDag
The cleanup dag for the final concrete dag. |
private CreateDirectory |
mCreateEng
The engine that ends up creating random directories in the remote execution pools. |
private Set |
mExecPools
The pools on which the Dag should be executed as specified by the user. |
private InterPoolEngine |
mIPEng
The handle to the InterPool Engine that calls out to the Site Selector and maps the jobs. |
private NodeCollapser |
mNodeCollapser
The handle to the node collapser. |
private ADag |
mOriginalDag
The Original Dag object which is constructed by parsing the dag file. |
private String |
mOutputPool
The pool on which all the output data should be transferred. |
private ReplicaCatalogBridge |
mRCBridge
The bridge to the Replica Catalog. |
private ReductionEngine |
mRedEng
The handle to the Reduction Engine that performs reduction on the graph. |
private ADag |
mReducedDag
The reduced Dag object which is got from the Reduction Engine. |
private RemoveDirectory |
mRemoveEng
The engine that ends up creating the cleanup dag for the dag. |
private TransferEngine |
mTransEng
The handle to the Transfer Engine that adds the transfer nodes in the graph to transfer the files from one site to another. |
| Fields inherited from class org.griphyn.cPlanner.engine.Engine |
|---|
mLogger, mLogMsg, mPoolClass, mPoolFile, mPoolHandle, mPOptions, mProps, mRLIUrl, mTCFile, mTCHandle, mTCMode, REGISTRATION_UNIVERSE, TRANSFER_UNIVERSE |
| Constructor Summary | |
|---|---|
MainEngine(ADag orgDag,
PegasusProperties props,
PlannerOptions options)
This constructor initialises the class variables to the variables passed. |
|
| Method Summary | |
|---|---|
ADag |
getCleanupDAG()
Returns the cleanup dag for the concrete dag. |
PegasusBag |
getPegasusBag()
Returns the bag of intialization objects. |
ADag |
runPlanner()
The main function which calls the other engines and does the necessary work. |
String |
setToString(Set s,
String delim)
A small helper method that displays the contents of a Set in a String. |
private void |
unmarkArgs()
Deprecated. |
| Methods inherited from class org.griphyn.cPlanner.engine.Engine |
|---|
addVector, appendArrayList, loadProperties, printVector, stringInList, stringInPegVector, stringInVector, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ADag mOriginalDag
private ADag mReducedDag
private ADag mCleanupDag
private Set mExecPools
private String mOutputPool
private ReplicaCatalogBridge mRCBridge
private InterPoolEngine mIPEng
private ReductionEngine mRedEng
private TransferEngine mTransEng
private CreateDirectory mCreateEng
private RemoveDirectory mRemoveEng
private AuthenticateEngine mAuthEng
private NodeCollapser mNodeCollapser
private PegasusBag mBag
| Constructor Detail |
|---|
public MainEngine(ADag orgDag,
PegasusProperties props,
PlannerOptions options)
orgDag - the dag to be worked on.props - the properties to be used.options - The options specified by the user to run the planner.| Method Detail |
|---|
public ADag runPlanner()
public ADag getCleanupDAG()
public PegasusBag getPegasusBag()
private void unmarkArgs()
public String setToString(Set s,
String delim)
s - the Set whose contents need to be displayeddelim - The delimited between the members of the set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||