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.int
getJobID()
Returns the unique identifier for this job.Returns the list of stages comprising this job.int
Returns the number of output products produced by this job.scala.collection.Seq<Object>
Returns the stage ID associated with this job.void
setEventame
(String name) Sets the name of the event associated with this job.void
setJobID
(int jobID) Sets the unique identifier for this job.void
setListOfStages
(List<Stage> listOfStages) Sets the list of stages comprising this job.void
setProductArity
(int productArity) Sets the number of output products produced by this job.void
setStageID
(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:Job
Sets the name of the event associated with this job.- Specified by:
setEventame
in interfaceJob
- Parameters:
name
- the name of the event
-
getEventName
Description copied from interface:Job
Returns the name of the event associated with this job.- Specified by:
getEventName
in interfaceJob
- Returns:
- the name of the event
-
setJobID
public void setJobID(int jobID) Description copied from interface:Job
Sets the unique identifier for this job. -
getJobID
public int getJobID()Description copied from interface:Job
Returns the unique identifier for this job. -
setProductArity
public void setProductArity(int productArity) Description copied from interface:Job
Sets the number of output products produced by this job.- Specified by:
setProductArity
in interfaceJob
- Parameters:
productArity
- the number of output products produced by this job
-
getProductArity
public int getProductArity()Description copied from interface:Job
Returns the number of output products produced by this job.- Specified by:
getProductArity
in interfaceJob
- Returns:
- the number of output products produced by this job
-
setStageID
Description copied from interface:Job
Sets the stage ID associated with this job.- Specified by:
setStageID
in interfaceJob
- Parameters:
stageId
- the stage ID associated with this job
-
getStageID
Description copied from interface:Job
Returns the stage ID associated with this job.- Specified by:
getStageID
in interfaceJob
- Returns:
- the stage ID associated with this job
-
setListOfStages
Description copied from interface:Job
Sets the list of stages comprising this job.- Specified by:
setListOfStages
in interfaceJob
- Parameters:
listOfStages
- the list of stages comprising this job
-
getListOfStages
Description copied from interface:Job
Returns the list of stages comprising this job.- Specified by:
getListOfStages
in interfaceJob
- Returns:
- the list of stages comprising this job
-