Class ApplicationEnd

java.lang.Object
org.apache.wayang.spark.monitoring.metrics.ApplicationEnd
All Implemented Interfaces:
Serializable, Application, SerializableObject

public class ApplicationEnd extends Object implements Application, SerializableObject
The ApplicationEnd class represents an application that has ended. It implements the Application interface and the SerializableObject 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:
  • Constructor Details

    • ApplicationEnd

      public ApplicationEnd()
  • Method Details

    • setEventame

      public void setEventame(String name)
      Description copied from interface: Application
      Sets the name of the event associated with the application.
      Specified by:
      setEventame in interface Application
      Parameters:
      name - the name of the event
    • getEventName

      public String getEventName()
      Description copied from interface: Application
      Returns the name of the event associated with the application.
      Specified by:
      getEventName in interface Application
      Returns:
      the name of the event
    • setName

      public void setName(String name)
      Description copied from interface: Application
      Sets the name of the application.
      Specified by:
      setName in interface Application
      Parameters:
      name - the name of the application
    • getName

      public String getName()
      Description copied from interface: Application
      Returns the name of the application.
      Specified by:
      getName in interface Application
      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 interface Application
      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 interface Application
      Returns:
      the start time of the application
    • setAppID

      public void setAppID(String id)
      Description copied from interface: Application
      Sets the ID of the application.
      Specified by:
      setAppID in interface Application
      Parameters:
      id - the ID of the application
    • getAppID

      public String getAppID()
      Description copied from interface: Application
      Returns the ID of the application.
      Specified by:
      getAppID in interface Application
      Returns:
      the ID of the application
    • setSparkUser

      public void setSparkUser(String user)
      Description copied from interface: Application
      Sets the user associated with the Spark application.
      Specified by:
      setSparkUser in interface Application
      Parameters:
      user - the user associated with the Spark application
    • getSparkUser

      public String getSparkUser()
      Description copied from interface: Application
      Returns the user associated with the Spark application.
      Specified by:
      getSparkUser in interface Application
      Returns:
      the user associated with the Spark application
    • setListOfJobs

      public void setListOfJobs(List<Job> listOfJobs)
      Description copied from interface: Application
      Sets the list of jobs associated with the application.
      Specified by:
      setListOfJobs in interface Application
      Parameters:
      listOfJobs - the list of jobs associated with the application
    • getListOfjobs

      public List<Job> getListOfjobs()
      Description copied from interface: Application
      Returns the list of jobs associated with the application.
      Specified by:
      getListOfjobs in interface Application
      Returns:
      the list of jobs associated with the application