Class ApplicationStart
- java.lang.Object
-
- org.apache.wayang.spark.monitoring.metrics.ApplicationStart
-
- All Implemented Interfaces:
java.io.Serializable,Application,SerializableObject
public class ApplicationStart extends java.lang.Object implements Application, SerializableObject
The ApplicationStart class implements the Application and SerializableObject interfaces. It represents an application start event in a Spark cluster. This class contains information about the name of the application, the time it started, the application ID, the Spark user who started the application, the name of the event, and a list of jobs associated with the application.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationStart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAppID()Returns the ID of the application.java.lang.StringgetEventName()Returns the name of the event associated with the application.java.util.List<Job>getListOfjobs()Returns the list of jobs associated with the application.java.lang.StringgetName()Returns the name of the application.java.lang.StringgetSparkUser()Returns the user associated with the Spark application.longgetTime()Returns the start time of the application.voidsetAppID(java.lang.String id)Sets the ID of the application.voidsetEventame(java.lang.String name)Sets the name of the event associated with the application.voidsetListOfJobs(java.util.List<Job> listOfJobs)Sets the list of jobs associated with the application.voidsetName(java.lang.String name)Sets the name of the application.voidsetSparkUser(java.lang.String user)Sets the user associated with the Spark application.voidsetStartTime(long time)Sets the start time of the application.
-
-
-
Method Detail
-
setEventame
public void setEventame(java.lang.String name)
Description copied from interface:ApplicationSets the name of the event associated with the application.- Specified by:
setEventamein interfaceApplication- Parameters:
name- the name of the event
-
getEventName
public java.lang.String getEventName()
Description copied from interface:ApplicationReturns the name of the event associated with the application.- Specified by:
getEventNamein interfaceApplication- Returns:
- the name of the event
-
setName
public void setName(java.lang.String name)
Description copied from interface:ApplicationSets the name of the application.- Specified by:
setNamein interfaceApplication- Parameters:
name- the name of the application
-
getName
public java.lang.String getName()
Description copied from interface:ApplicationReturns the name of the application.- Specified by:
getNamein interfaceApplication- Returns:
- the name of the application
-
setStartTime
public void setStartTime(long time)
Description copied from interface:ApplicationSets the start time of the application.- Specified by:
setStartTimein interfaceApplication- Parameters:
time- the start time of the application
-
getTime
public long getTime()
Description copied from interface:ApplicationReturns the start time of the application.- Specified by:
getTimein interfaceApplication- Returns:
- the start time of the application
-
setAppID
public void setAppID(java.lang.String id)
Description copied from interface:ApplicationSets the ID of the application.- Specified by:
setAppIDin interfaceApplication- Parameters:
id- the ID of the application
-
getAppID
public java.lang.String getAppID()
Description copied from interface:ApplicationReturns the ID of the application.- Specified by:
getAppIDin interfaceApplication- Returns:
- the ID of the application
-
setSparkUser
public void setSparkUser(java.lang.String user)
Description copied from interface:ApplicationSets the user associated with the Spark application.- Specified by:
setSparkUserin interfaceApplication- Parameters:
user- the user associated with the Spark application
-
getSparkUser
public java.lang.String getSparkUser()
Description copied from interface:ApplicationReturns the user associated with the Spark application.- Specified by:
getSparkUserin interfaceApplication- Returns:
- the user associated with the Spark application
-
setListOfJobs
public void setListOfJobs(java.util.List<Job> listOfJobs)
Description copied from interface:ApplicationSets the list of jobs associated with the application.- Specified by:
setListOfJobsin interfaceApplication- Parameters:
listOfJobs- the list of jobs associated with the application
-
getListOfjobs
public java.util.List<Job> getListOfjobs()
Description copied from interface:ApplicationReturns the list of jobs associated with the application.- Specified by:
getListOfjobsin interfaceApplication- Returns:
- the list of jobs associated with the application
-
-