|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.transfer.AbstractRefiner
public abstract class AbstractRefiner
An abstract implementation that implements some of the common functions in the Refiner Interface and member variables that are required by all the refiners.
| Field Summary | |
|---|---|
protected ADag |
mDAG
The ADag object associated with the Dag. |
protected LogManager |
mLogger
The logging object which is used to log all the messages. |
protected PlannerOptions |
mPOptions
The options passed to the planner at runtime. |
protected PegasusProperties |
mProps
The handle to the properties object holding the properties relevant to Pegasus. |
protected TPT |
mTPT
The handle to the Third Party State machinery. |
protected Implementation |
mTXInterImplementation
The inter transfer implementation that the refiner requires. |
protected Implementation |
mTXStageInImplementation
The stage-in transfer implementation that the refiner requires. |
protected Implementation |
mTXStageOutImplementation
The stage-out transfer implementation that the refiner requires. |
protected XMLProducer |
mXMLStore
The XML Producer object that records the actions. |
| Fields inherited from interface org.griphyn.cPlanner.transfer.Refiner |
|---|
INTER_POOL_PREFIX, REGISTER_PREFIX, STAGE_IN_PREFIX, STAGE_OUT_PREFIX |
| Fields inherited from interface org.griphyn.cPlanner.engine.Refiner |
|---|
VERSION |
| Constructor Summary | |
|---|---|
AbstractRefiner(ADag dag,
PegasusProperties properties,
PlannerOptions options)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
ADag |
getWorkflow()
Returns a reference to the workflow that is being refined by the refiner. |
XMLProducer |
getXMLProducer()
Returns a reference to the XMLProducer, that generates the XML fragment capturing the actions of the refiner. |
boolean |
isSiteThirdParty(String site,
int type)
Returns whether a Site is third party enabled or not. |
protected void |
logConfigMessages()
Logs configuration messages regarding the type of implementations loaded for various type of transfer node creations. |
boolean |
runTPTOnRemoteSite(String site,
int type)
Returns whether the third party transfers for a particular site are to be run on the remote site or the submit host. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.griphyn.cPlanner.transfer.Refiner |
|---|
addInterSiteTXNodes, addJob, addRelation, addRelation, addStageInXFERNodes, addStageOutXFERNodes, addStageOutXFERNodes, done, getDescription, loadImplementations |
| Field Detail |
|---|
protected Implementation mTXStageInImplementation
protected Implementation mTXInterImplementation
protected Implementation mTXStageOutImplementation
protected ADag mDAG
protected PegasusProperties mProps
protected PlannerOptions mPOptions
protected LogManager mLogger
LogManagerprotected TPT mTPT
protected XMLProducer mXMLStore
| Constructor Detail |
|---|
public AbstractRefiner(ADag dag,
PegasusProperties properties,
PlannerOptions options)
dag - the workflow to which transfer nodes need to be added.properties - the PegasusProperties object containing all
the properties required by Pegasus.options - the options passed to the planner.| Method Detail |
|---|
public ADag getWorkflow()
getWorkflow in interface Refinerpublic XMLProducer getXMLProducer()
getXMLProducer in interface Refiner
public boolean isSiteThirdParty(String site,
int type)
site - the name of the site.type - the type of transfer job for which the URL is being constructed.
Should be one of the following:
stage-in
stage-out
inter-pool transfer
IllegalArgumentExceptionSubInfo.STAGE_IN_JOB,
SubInfo.INTER_POOL_JOB,
SubInfo.STAGE_OUT_JOB
public boolean runTPTOnRemoteSite(String site,
int type)
site - the name of the site.type - the type of transfer job for which the URL is being constructed.
Should be one of the following:
stage-in
stage-out
inter-pool transfer
SubInfo.STAGE_IN_JOB,
SubInfo.INTER_POOL_JOB,
SubInfo.STAGE_OUT_JOBprotected void logConfigMessages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||