Interface Application

All Superinterfaces:
Serializable
All Known Implementing Classes:
ApplicationEnd, ApplicationStart

public interface Application extends Serializable
This interface represents an application metrics in a Spark cluster. The implementing classes must be serializable.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the ID of the application.
    Returns the name of the event associated with the application.
    Returns the list of jobs associated with the application.
    Returns the name of the application.
    Returns the user associated with the Spark application.
    long
    Returns the start time of the application.
    void
    Sets the ID of the application.
    void
    Sets the name of the event associated with the application.
    void
    setListOfJobs(List<Job> listOfJobs)
    Sets the list of jobs associated with the application.
    void
    Sets the name of the application.
    void
    Sets the user associated with the Spark application.
    void
    setStartTime(long time)
    Sets the start time of the application.
  • Method Details

    • setEventame

      void setEventame(String name)
      Sets the name of the event associated with the application.
      Parameters:
      name - the name of the event
    • getEventName

      String getEventName()
      Returns the name of the event associated with the application.
      Returns:
      the name of the event
    • setName

      void setName(String name)
      Sets the name of the application.
      Parameters:
      name - the name of the application
    • getName

      String getName()
      Returns the name of the application.
      Returns:
      the name of the application
    • setStartTime

      void setStartTime(long time)
      Sets the start time of the application.
      Parameters:
      time - the start time of the application
    • getTime

      long getTime()
      Returns the start time of the application.
      Returns:
      the start time of the application
    • setAppID

      void setAppID(String id)
      Sets the ID of the application.
      Parameters:
      id - the ID of the application
    • getAppID

      String getAppID()
      Returns the ID of the application.
      Returns:
      the ID of the application
    • setSparkUser

      void setSparkUser(String user)
      Sets the user associated with the Spark application.
      Parameters:
      user - the user associated with the Spark application
    • getSparkUser

      String getSparkUser()
      Returns the user associated with the Spark application.
      Returns:
      the user associated with the Spark application
    • setListOfJobs

      void setListOfJobs(List<Job> listOfJobs)
      Sets the list of jobs associated with the application.
      Parameters:
      listOfJobs - the list of jobs associated with the application
    • getListOfjobs

      List<Job> getListOfjobs()
      Returns the list of jobs associated with the application.
      Returns:
      the list of jobs associated with the application