Class JobStart
java.lang.Object
org.apache.wayang.spark.monitoring.metrics.JobStart
- All Implemented Interfaces:
Serializable,Job,SerializableObject
JobStart class represents a job's start in a system.
It implements the Job and SerializableObject interfaces.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the event associated with this job.intgetJobID()Returns the unique identifier for this job.Returns the list of stages comprising this job.intReturns the number of output products produced by this job.scala.collection.Seq<Object>Returns the stage ID associated with this job.voidsetEventame(String name) Sets the name of the event associated with this job.voidsetJobID(int jobID) Sets the unique identifier for this job.voidsetListOfStages(List<Stage> listOfStages) Sets the list of stages comprising this job.voidsetProductArity(int productArity) Sets the number of output products produced by this job.voidsetStageID(scala.collection.Seq<Object> stageId) Sets the stage ID associated with this job.
-
Constructor Details
-
JobStart
public JobStart()
-
-
Method Details
-
setEventame
Description copied from interface:JobSets the name of the event associated with this job.- Specified by:
setEventamein interfaceJob- Parameters:
name- the name of the event
-
getEventName
Description copied from interface:JobReturns the name of the event associated with this job.- Specified by:
getEventNamein interfaceJob- Returns:
- the name of the event
-
setJobID
public void setJobID(int jobID) Description copied from interface:JobSets the unique identifier for this job. -
getJobID
public int getJobID()Description copied from interface:JobReturns the unique identifier for this job. -
setProductArity
public void setProductArity(int productArity) Description copied from interface:JobSets the number of output products produced by this job.- Specified by:
setProductArityin interfaceJob- Parameters:
productArity- the number of output products produced by this job
-
getProductArity
public int getProductArity()Description copied from interface:JobReturns the number of output products produced by this job.- Specified by:
getProductArityin interfaceJob- Returns:
- the number of output products produced by this job
-
setStageID
Description copied from interface:JobSets the stage ID associated with this job.- Specified by:
setStageIDin interfaceJob- Parameters:
stageId- the stage ID associated with this job
-
getStageID
Description copied from interface:JobReturns the stage ID associated with this job.- Specified by:
getStageIDin interfaceJob- Returns:
- the stage ID associated with this job
-
setListOfStages
Description copied from interface:JobSets the list of stages comprising this job.- Specified by:
setListOfStagesin interfaceJob- Parameters:
listOfStages- the list of stages comprising this job
-
getListOfStages
Description copied from interface:JobReturns the list of stages comprising this job.- Specified by:
getListOfStagesin interfaceJob- Returns:
- the list of stages comprising this job
-