Package alluxio.job.wire
Interface JobInfo
-
- All Known Implementing Classes:
PlanInfo,TaskInfo,WorkflowInfo
public interface JobInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<java.lang.String>getAffectedPaths()java.util.List<JobInfo>getChildren()java.lang.StringgetDescription()java.lang.StringgetErrorMessage()java.lang.StringgetErrorType()longgetId()longgetLastUpdated()java.lang.StringgetName()java.lang.LonggetParentId()java.io.SerializablegetResult()StatusgetStatus()alluxio.grpc.JobInfotoProto()
-
-
-
Method Detail
-
getId
long getId()
- Returns:
- job id
-
getParentId
@Nullable java.lang.Long getParentId()
- Returns:
- parent job id
-
getName
@Nonnull java.lang.String getName()
- Returns:
- name of the job
-
getDescription
@Nonnull java.lang.String getDescription()
- Returns:
- description of the job
-
getStatus
@Nonnull Status getStatus()
- Returns:
- status of the job
-
getLastUpdated
long getLastUpdated()
- Returns:
- last updated time in milliseconds
-
getChildren
@Nonnull java.util.List<JobInfo> getChildren()
- Returns:
- collection of children
-
getResult
@Nullable java.io.Serializable getResult()
- Returns:
- result of the job
-
getErrorType
@Nonnull java.lang.String getErrorType()
- Returns:
- error type
-
getErrorMessage
@Nonnull java.lang.String getErrorMessage()
- Returns:
- error message
-
getAffectedPaths
@Nonnull default java.util.List<java.lang.String> getAffectedPaths()
- Returns:
- affected paths
-
toProto
@Nonnull alluxio.grpc.JobInfo toProto() throws java.io.IOException- Returns:
- proto representation of the job info
- Throws:
java.io.IOException- if serialization fails
-
-