Package alluxio.job

Class JobDescription


  • public class JobDescription
    extends java.lang.Object
    Job description that used as a key to identify the job in the scheduler.
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns:
        the type of the job
      • getPath

        public java.lang.String getPath()
        Returns:
        the path of the job affected
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • from

        public static JobDescription from​(alluxio.grpc.JobDescription jobDescription)
        create a job description from JobDescription proto.
        Parameters:
        jobDescription - JobDescription proto
        Returns:
        job description