edu.isi.pegasus.planner.refiner.cleanup
Interface CleanupImplementation

All Known Implementing Classes:
Cleanup, RM

public interface CleanupImplementation

The interface that defines how the cleanup job is invoked and created.

Version:
$Revision: 2590 $
Author:
Karan Vahi

Field Summary
static String VERSION
          The version number associated with this API Cleanup CleanupImplementation.
 
Method Summary
 Job createCleanupJob(String id, List files, Job job)
          Creates a cleanup job that removes the files from remote working directory.
 void initialize(PegasusBag bag)
          Intializes the class.
 

Field Detail

VERSION

static final String VERSION
The version number associated with this API Cleanup CleanupImplementation.

See Also:
Constant Field Values
Method Detail

initialize

void initialize(PegasusBag bag)
Intializes the class.

Parameters:
bag - bag of initialization objects

createCleanupJob

Job createCleanupJob(String id,
                     List files,
                     Job 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.
files - the list of PegasusFile that need to be cleaned up.
job - the primary compute job with which this cleanup job is associated.
Returns:
the cleanup job.


Copyright © 2011 The University of Southern California. All Rights Reserved.