|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.code.generator.MonitordNotify
public class MonitordNotify
A MonitordNotify Input File Generator that generates the input file required for pegasus-monitord.
| Field Summary | |
|---|---|
static String |
DAG_JOB
The constant string to write for dag job notifications. |
static String |
DAX_JOB
The constant string to write for dax job notifications. |
static String |
DELIMITER
The delimiter with which to separate different fields in the notifications file. |
static String |
INVOCATION
The constant string to write for invocation notifications. |
static String |
JOB
The constant string to write for job notifications. |
protected PegasusBag |
mBag
The bag of initialization objects. |
protected LogManager |
mLogger
The handle to the logging object. |
private PrintWriter |
mNotificationsWriter
The handle to the PrintWriter that writes out the notifications file |
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. |
static String |
NOTIFICATIONS_FILE_SUFFIX
The suffix to use while constructing the name of the metrics file |
static String |
WORKFLOW
The constant string to write for work flow notifications. |
| Fields inherited from interface edu.isi.pegasus.planner.code.CodeGenerator |
|---|
VERSION |
| Constructor Summary | |
|---|---|
MonitordNotify()
|
|
| Method Summary | |
|---|---|
Collection<File> |
generateCode(ADag dag)
Generates the notifications input file. |
void |
generateCode(ADag dag,
Job job)
Not implemented |
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 NOTIFICATIONS_FILE_SUFFIX
public static final String WORKFLOW
public static final String JOB
public static final String INVOCATION
public static final String DAG_JOB
public static final String DAX_JOB
public static final String DELIMITER
protected PegasusBag mBag
protected String mSubmitFileDir
protected PegasusProperties mProps
protected PlannerOptions mPOptions
protected LogManager mLogger
private PrintWriter mNotificationsWriter
| Constructor Detail |
|---|
public MonitordNotify()
| Method Detail |
|---|
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 | |||||||||