Package alluxio.job
Class JobDescription
- java.lang.Object
-
- alluxio.job.JobDescription
-
public class JobDescription extends java.lang.Object
Job description that used as a key to identify the job in the scheduler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobDescription.Builder
Builder forJobDescription
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static JobDescription
from(alluxio.grpc.JobDescription jobDescription)
create a job description from JobDescription proto.java.lang.String
getPath()
java.lang.String
getType()
int
hashCode()
static JobDescription.Builder
newBuilder()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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
-
newBuilder
public static JobDescription.Builder newBuilder()
- Returns:
- the job description builder
-
-