Package alluxio.job.wire
Class SimpleJobStatusBlock
- java.lang.Object
-
- alluxio.job.wire.SimpleJobStatusBlock
-
public class SimpleJobStatusBlock extends java.lang.ObjectClass for simple job status information.
-
-
Constructor Summary
Constructors Constructor Description SimpleJobStatusBlock(long jobId, Status status, java.lang.String filePath, java.lang.String fileFailed)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetFilePath()Get file path of the job.java.lang.StringgetFilesPathFailed()Get failed file path of the job.longgetJobId()Get job id.StatusgetStatus()Get status of the job.inthashCode()
-
-
-
Constructor Detail
-
SimpleJobStatusBlock
public SimpleJobStatusBlock(long jobId, Status status, java.lang.String filePath, java.lang.String fileFailed)Constructor.- Parameters:
jobId-status-filePath-fileFailed-
-
-
Method Detail
-
getJobId
public long getJobId()
Get job id.- Returns:
- job id
-
getStatus
public Status getStatus()
Get status of the job.- Returns:
- status information
-
getFilePath
public java.lang.String getFilePath()
Get file path of the job.- Returns:
- file path s tring
-
getFilesPathFailed
public java.lang.String getFilesPathFailed()
Get failed file path of the job.- Returns:
- file path s tring
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-