|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.refiner.createdir.AbstractStrategy
public abstract class AbstractStrategy
The interface that defines how the cleanup job is invoked and created.
| Field Summary | |
|---|---|
static String |
CREATE_DIR_PREFIX
Constant prefix for the names of the create directory nodes. |
static String |
CREATE_DIR_SUFFIX
Constant suffix for the names of the create directory nodes. |
protected Implementation |
mImpl
The implementation instance that is used to create a create dir job. |
protected String |
mJobPrefix
The job prefix that needs to be applied to the job file basenames. |
protected LogManager |
mLogger
The handle to the logging object, that is used to log the messages. |
protected SiteStore |
mSiteStore
The Site Store handle. |
protected boolean |
mUseMkdir
Whether we want to use dirmanager or mkdir directly. |
| Fields inherited from interface edu.isi.pegasus.planner.refiner.createdir.Strategy |
|---|
VERSION |
| Constructor Summary | |
|---|---|
AbstractStrategy()
|
|
| Method Summary | |
|---|---|
String |
getCreateDirJobName(ADag dag,
String pool)
It returns the name of the create directory job, that is to be assigned. |
protected Set |
getCreateDirSites(ADag dag)
Retrieves the sites for which the create dir jobs need to be created. |
void |
initialize(PegasusBag bag,
Implementation impl)
Intializes the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.isi.pegasus.planner.refiner.createdir.Strategy |
|---|
addCreateDirectoryNodes |
| Field Detail |
|---|
public static final String CREATE_DIR_SUFFIX
public static final String CREATE_DIR_PREFIX
protected LogManager mLogger
protected String mJobPrefix
protected boolean mUseMkdir
protected Implementation mImpl
protected SiteStore mSiteStore
| Constructor Detail |
|---|
public AbstractStrategy()
| Method Detail |
|---|
public void initialize(PegasusBag bag,
Implementation impl)
initialize in interface Strategybag - bag of initialization objectsimpl - the implementation instance that creates create dir job
public String getCreateDirJobName(ADag dag,
String pool)
dag - the workflow to which the create dir jobs are being added.pool - the execution pool for which the create directory job
is responsible.
protected Set getCreateDirSites(ADag dag)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||