|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.griphyn.cPlanner.transfer.implementation.Abstract
org.griphyn.cPlanner.transfer.implementation.AbstractMultipleFTPerXFERJob
An abstract implementation for implementations that can handle multiple file transfers in a single file transfer job.
| Field Summary |
| Fields inherited from class org.griphyn.cPlanner.transfer.implementation.Abstract |
CHANGE_XBIT_TRANSFORMATION, mLocalUserProxy, mLocalUserProxyBasename, mLogger, mPOptions, mProps, mRefiner, mSCHandle, mTCHandle, SET_XBIT_PREFIX, XBIT_DERIVATION_NS, XBIT_DERIVATION_VERSION, XBIT_TRANSFORMATION_NS, XBIT_TRANSFORMATION_VERSION |
| Fields inherited from interface org.griphyn.cPlanner.transfer.Implementation |
TRANSFER_UNIVERSE |
| Constructor Summary | |
AbstractMultipleFTPerXFERJob(PegasusProperties properties,
PlannerOptions options)
The overloaded constructor, that is called by the Factory to load the class. |
|
| Method Summary | |
TransferJob |
createTransferJob(SubInfo job,
Collection files,
Collection execFiles,
String txJobName,
int jobClass)
Constructs a general transfer job that handles multiple transfers per transfer job. |
protected abstract String |
generateArgumentString(TransferJob job)
It constructs the arguments to the transfer executable that need to be passed to the executable referred to in this transfer mode. |
protected abstract String |
getCompleteTCName()
Returns the complete name for the transformation that the implementation is using.. |
protected abstract String |
getDerivationName()
Returns the logical name of the derivation that this implementation refers to. |
protected abstract String |
getDerivationNamespace()
Returns the namespace of the derivation that this implementation refers to. |
protected abstract String |
getDerivationVersion()
Returns the version of the derivation that this implementation refers to. |
protected String |
prepareSTDIN(String name,
Collection files)
Prepares the stdin for the transfer job. |
protected abstract void |
writeJumboStdIn(FileWriter stdIn,
Collection files)
Writes to a FileWriter stream the stdin which goes into the magic script via standard input |
| Methods inherited from class org.griphyn.cPlanner.transfer.implementation.Abstract |
addSetXBitJobs, addSetXBitJobs, applyPriority, checkAndTransferProxy, createSetXBitJob, getPathToUserProxy, getPriority, getSetXBitJobName, setRefiner |
| 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.Implementation |
doesPreserveXBit, getDescription, getTransformationCatalogEntry, useThirdPartyTransferAlways |
| Constructor Detail |
public AbstractMultipleFTPerXFERJob(PegasusProperties properties,
PlannerOptions options)
properties - the properties object.options - the options passed to the Planner.| Method Detail |
public TransferJob createTransferJob(SubInfo job,
Collection files,
Collection execFiles,
String txJobName,
int jobClass)
createTransferJob in interface Implementationjob - the SubInfo object for the job, in relation to which
the transfer node is being added. Either the transfer
node can be transferring this jobs input files to
the execution pool, or transferring this job's output
files to the output pool.files - collection of FileTransfer objects
representing the data files and staged executables to be
transferred.execFiles - subset collection of the files parameter, that identifies
the executable files that are being transferred.txJobName - the name of transfer node.jobClass - the job Class for the newly added job. Can be one of the
following:
stage-in
stage-out
inter-pool transfer
protected String prepareSTDIN(String name,
Collection files)
throws Exception
name - the name of the transfer job.files - Collection of FileTransfer objects containing
the information about sourceam fin and destURL's.
Exception - in case of error.protected abstract String getDerivationNamespace()
protected abstract String getDerivationName()
protected abstract String getDerivationVersion()
protected abstract String generateArgumentString(TransferJob job)
job - the object containing the transfer node.
protected abstract void writeJumboStdIn(FileWriter stdIn,
Collection files)
throws Exception
stdIn - the writer to the stdin file.files - Collection of FileTransfer objects containing
the information about sourceam fin and destURL's.
Exceptionprotected abstract String getCompleteTCName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||