@PublicAPI public interface JobInfo extends Serializable
Modifier and Type | Method and Description |
---|---|
long |
getFinishedTime()
Returns the time at which the Job has finished.
|
Map<String,String> |
getGenericInformation()
Returns the generic information Map
|
long |
getInErrorTime()
Returns the time at which a Job was seen as in-error
for the last time.
|
JobId |
getJobId()
Returns an identifier that uniquely identifies the Job
within a Scheduler instance.
|
String |
getJobOwner()
Returns the name of the Job owner.
|
long |
getLastUpdatedTime()
Returns the time at which the last updated happened on the Job.
|
int |
getNumberOfFailedTasks()
Returns the number of tasks managed by the Job
that are in a failed state due to a resource failure.
|
int |
getNumberOfFaultyTasks()
Returns the number of tasks managed by the Job
that are in a faulty state.
|
int |
getNumberOfFinishedTasks()
Returns the number of tasks managed by the Job
which are finished.
|
int |
getNumberOfInErrorTasks()
Returns the number of tasks managed by the Job
that are in an in-error state.
|
int |
getNumberOfPendingTasks()
Returns the number of tasks managed by the Job
which are pending.
|
int |
getNumberOfRunningTasks()
Returns the number of tasks managed by the Job
which are running.
|
JobPriority |
getPriority()
Returns the priority of the Job.
|
long |
getRemovedTime()
Returns the time at which the Job has been marked as removed.
|
long |
getScheduledTimeForRemoval()
Returns the scheduled time for removal.
|
long |
getStartTime()
Returns the time at which the Job has started.
|
JobStatus |
getStatus()
Return the status of the job.
|
long |
getSubmittedTime()
Returns the time at which the Job was submitted.
|
int |
getTotalNumberOfTasks()
Returns the number of tasks managed by the Job.
|
Map<String,String> |
getVariables()
Returns the variables Map
|
boolean |
isStarted() |
boolean |
isToBeRemoved()
Returns a boolean that indicates whether the job
is marked for removal or not.
|
JobId getJobId()
String getJobOwner()
long getFinishedTime()
long getRemovedTime()
long getStartTime()
boolean isStarted()
long getInErrorTime()
-1
.long getSubmittedTime()
long getLastUpdatedTime()
int getTotalNumberOfTasks()
int getNumberOfFinishedTasks()
int getNumberOfPendingTasks()
int getNumberOfRunningTasks()
int getNumberOfFailedTasks()
int getNumberOfFaultyTasks()
int getNumberOfInErrorTasks()
JobPriority getPriority()
JobStatus getStatus()
boolean isToBeRemoved()
long getScheduledTimeForRemoval()
Map<String,String> getGenericInformation()