| |
|
| java.lang.Object org.griphyn.cPlanner.engine.cleanup.RM
RM | public class RM implements Implementation(Code) | | Use's RM to do removal of the files on the remote sites.
author: Karan Vahi version: $Revision: 50 $ |
Method Summary | |
public SubInfo | createCleanupJob(String id, List files, SubInfo job) Creates a cleanup job that removes the files from remote working directory.
This will eventually make way to it's own interface.
Parameters: id - the identifier to be assigned to the job. Parameters: files - the list of PegasusFile that need to becleaned up. Parameters: job - the primary compute job with which this cleanup job is associated. | protected TransformationCatalogEntry | getTCEntry(String site) Returns the TCEntry object for the rm executable on a grid site.
Parameters: site - the site corresponding to which the entry is required. |
DEFAULT_PRIORITY_KEY | final public static String DEFAULT_PRIORITY_KEY(Code) | | The default priority key associated with the cleanup jobs.
|
DEFAULT_RM_LOCATION | final public static String DEFAULT_RM_LOCATION(Code) | | The default path to rm executable.
|
DEFAULT_RM_LOGICAL_NAME | final public static String DEFAULT_RM_LOGICAL_NAME(Code) | | The default logical name to rm executable.
|
RM | public RM(PegasusProperties properties, PlannerOptions options)(Code) | | Creates a new instance of InPlace
Parameters: properties - the properties passed to the planner. Parameters: options - the options passed to the planner. |
createCleanupJob | public SubInfo createCleanupJob(String id, List files, SubInfo job)(Code) | | Creates a cleanup job that removes the files from remote working directory.
This will eventually make way to it's own interface.
Parameters: id - the identifier to be assigned to the job. Parameters: files - the list of PegasusFile that need to becleaned up. Parameters: job - the primary compute job with which this cleanup job is associated. the cleanup job. |
getTCEntry | protected TransformationCatalogEntry getTCEntry(String site)(Code) | | Returns the TCEntry object for the rm executable on a grid site.
Parameters: site - the site corresponding to which the entry is required. the TransformationCatalogEntry corresponding to the site. |
|
|
|