|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.code.generator.DAXReplicaStore
public class DAXReplicaStore
A generator that writes out the replica store containing a file based replica catalog that has the file locations mentioned in the DAX.
| Field Summary | |
|---|---|
private static String |
CACHE_FILE_SUFFIX
Suffix to be applied for cache file generation. |
static String |
DAX_REPLICA_STORE_CATALOG_IMPLEMENTER
The name of the Replica Catalog Implementer that serves as the source for cache files. |
static String |
DAX_REPLICA_STORE_CATALOG_KEY
The name of the source key for Replica Catalog Implementer that serves as the repository for DAX Replica Store |
private static String |
DAX_REPLICA_STORE_SUFFIX
Suffix to be applied for the DAX Replica Store. |
protected PegasusBag |
mBag
The bag of initialization objects. |
protected LogManager |
mLogger
The handle to the logging object. |
protected PlannerOptions |
mPOptions
The object containing the command line options specified to the planner at runtime. |
protected PegasusProperties |
mProps
The object holding all the properties pertaining to Pegasus. |
protected String |
mSubmitFileDir
The directory where all the submit files are to be generated. |
| Fields inherited from interface edu.isi.pegasus.planner.code.CodeGenerator |
|---|
VERSION |
| Constructor Summary | |
|---|---|
DAXReplicaStore()
|
|
| Method Summary | |
|---|---|
Collection<File> |
generateCode(ADag dag)
Generates the notifications input file. |
void |
generateCode(ADag dag,
Job job)
Not implemented |
static String |
getDAXReplicaStoreFile(PlannerOptions options,
String label,
String index)
Returns the path to the DAX Replica Store File. |
void |
initialize(PegasusBag bag)
Initializes the Code Generator implementation. |
void |
reset()
Not implemented |
boolean |
startMonitoring()
Not implemented |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DAX_REPLICA_STORE_CATALOG_KEY
public static final String DAX_REPLICA_STORE_CATALOG_IMPLEMENTER
private static final String CACHE_FILE_SUFFIX
private static final String DAX_REPLICA_STORE_SUFFIX
protected PegasusBag mBag
protected String mSubmitFileDir
protected PegasusProperties mProps
protected PlannerOptions mPOptions
protected LogManager mLogger
| Constructor Detail |
|---|
public DAXReplicaStore()
| Method Detail |
|---|
public static String getDAXReplicaStoreFile(PlannerOptions options,
String label,
String index)
options - the options for the sub workflow.label - the label for the workflow.index - the index for the workflow.
public void initialize(PegasusBag bag)
throws CodeGeneratorException
initialize in interface CodeGeneratorbag - the bag of initialization objects.
CodeGeneratorException - in case of any error occurring code generation.
public Collection<File> generateCode(ADag dag)
throws CodeGeneratorException
generateCode in interface CodeGeneratordag - the concrete work-flow.
File objects for the files written
out.
CodeGeneratorException - in case of any error occurring code generation.
public void generateCode(ADag dag,
Job job)
throws CodeGeneratorException
generateCode in interface CodeGeneratordag - the work-flowjob - the job for which the code is to be generated.
CodeGeneratorExceptionpublic boolean startMonitoring()
startMonitoring in interface CodeGenerator
public void reset()
throws CodeGeneratorException
reset in interface CodeGeneratorCodeGeneratorException - in case of any error occuring code generation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||