public interface JobRunInfo
JobRun information for administrative purposes.
The JobRunInfo is retrieved through the GlobalRuntimeMXBean.JobRun| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getAbortStartTime()
Returns the time at which this
JobRunInfo received an abort request
or null if an abort request was not received. |
java.util.Date |
getCreationTime()
Returns the creation time of this
JobRunInfo. |
java.lang.String |
getDescription()
Returns the optionally provided description of this
JobRunInfo. |
java.util.Date |
getEndTime()
Returns the end time of this
JobRunInfo or null if
the job run has not yet ended. |
JobRunId |
getId()
Returns the
JobRunId for this JobRunInfo. |
JobOrigin |
getJobOrigin()
Returns the origin of this
JobRunInfo. |
JobResultInfo |
getJobResultInfo()
Returns the {@code JobResultInfo) for this job, or null if there is no result.
|
long |
getRunDuration()
Returns the duration of the job run in milliseconds.
|
java.util.Date |
getStartTime()
Returns the start time of this
JobRunInfo or null if
the job run has not yet started. |
JobStatus |
getStatus()
Returns the status of the
JobRunInfo. |
boolean |
isAbandoned()
Returns whether or not this job run is abandoned.
|
boolean |
isRestart()
Returns whether or not this job run was restarted by the global runtime.
|
JobRunId getId()
JobRunId for this JobRunInfo.java.lang.String getDescription()
JobRunInfo.
The name is inherited from the Job.null.JobStatus getStatus()
JobRunInfo.java.util.Date getCreationTime()
JobRunInfo.java.util.Date getStartTime()
JobRunInfo or null if
the job run has not yet started.java.util.Date getEndTime()
JobRunInfo or null if
the job run has not yet ended.JobRunInfo or null.long getRunDuration()
java.util.Date getAbortStartTime()
JobRunInfo received an abort request
or null if an abort request was not received.JobResultInfo getJobResultInfo()
boolean isAbandoned()
JobRunInfo is abandoned.boolean isRestart()
JobRunInfo is a restarted job run.JobOrigin getJobOrigin()
JobRunInfo.© Copyright IBM 2017