Class ApplicationEnd
- java.lang.Object
-
- org.apache.wayang.spark.monitoring.metrics.ApplicationEnd
-
- All Implemented Interfaces:
java.io.Serializable
,Application
,SerializableObject
public class ApplicationEnd extends java.lang.Object implements Application, SerializableObject
TheApplicationEnd
class represents an application that has ended. It implements theApplication
interface and theSerializableObject
interface, indicating that it is an application that can be serialized and deserialized to and from a stream of bytes.This class contains fields to store the name, time, ID, Spark user, event name, and list of jobs associated with the application. It also provides methods to set and get the values of these fields.
- See Also:
Application
,SerializableObject
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationEnd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAppID()
Returns the ID of the application.java.lang.String
getEventName()
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.String
getName()
Returns the name of the application.java.lang.String
getSparkUser()
Returns the user associated with the Spark application.long
getTime()
Returns the start time of the application.void
setAppID(java.lang.String id)
Sets the ID of the application.void
setEventame(java.lang.String name)
Sets the name of the event associated with the application.void
setListOfJobs(java.util.List<Job> listOfJobs)
Sets the list of jobs associated with the application.void
setName(java.lang.String name)
Sets the name of the application.void
setSparkUser(java.lang.String user)
Sets the user associated with the Spark application.void
setStartTime(long time)
Sets the start time of the application.
-
-
-
Method Detail
-
setEventame
public void setEventame(java.lang.String name)
Description copied from interface:Application
Sets the name of the event associated with the application.- Specified by:
setEventame
in interfaceApplication
- Parameters:
name
- the name of the event
-
getEventName
public java.lang.String getEventName()
Description copied from interface:Application
Returns the name of the event associated with the application.- Specified by:
getEventName
in interfaceApplication
- Returns:
- the name of the event
-
setName
public void setName(java.lang.String name)
Description copied from interface:Application
Sets the name of the application.- Specified by:
setName
in interfaceApplication
- Parameters:
name
- the name of the application
-
getName
public java.lang.String getName()
Description copied from interface:Application
Returns the name of the application.- Specified by:
getName
in interfaceApplication
- Returns:
- the name of the application
-
setStartTime
public void setStartTime(long time)
Description copied from interface:Application
Sets the start time of the application.- Specified by:
setStartTime
in interfaceApplication
- Parameters:
time
- the start time of the application
-
getTime
public long getTime()
Description copied from interface:Application
Returns the start time of the application.- Specified by:
getTime
in interfaceApplication
- Returns:
- the start time of the application
-
setAppID
public void setAppID(java.lang.String id)
Description copied from interface:Application
Sets the ID of the application.- Specified by:
setAppID
in interfaceApplication
- Parameters:
id
- the ID of the application
-
getAppID
public java.lang.String getAppID()
Description copied from interface:Application
Returns the ID of the application.- Specified by:
getAppID
in interfaceApplication
- Returns:
- the ID of the application
-
setSparkUser
public void setSparkUser(java.lang.String user)
Description copied from interface:Application
Sets the user associated with the Spark application.- Specified by:
setSparkUser
in interfaceApplication
- Parameters:
user
- the user associated with the Spark application
-
getSparkUser
public java.lang.String getSparkUser()
Description copied from interface:Application
Returns the user associated with the Spark application.- Specified by:
getSparkUser
in interfaceApplication
- Returns:
- the user associated with the Spark application
-
setListOfJobs
public void setListOfJobs(java.util.List<Job> listOfJobs)
Description copied from interface:Application
Sets the list of jobs associated with the application.- Specified by:
setListOfJobs
in interfaceApplication
- Parameters:
listOfJobs
- the list of jobs associated with the application
-
getListOfjobs
public java.util.List<Job> getListOfjobs()
Description copied from interface:Application
Returns the list of jobs associated with the application.- Specified by:
getListOfjobs
in interfaceApplication
- Returns:
- the list of jobs associated with the application
-
-