@PublicAPI public interface TaskInfo extends Serializable
Task
class in order to permit
the scheduler listener to send this class as event.Modifier and Type | Method and Description |
---|---|
long |
getExecutionDuration()
Get the execution duration of the task.
|
String |
getExecutionHostName()
Get the last execution HostName of the task.
|
String[] |
getExecutionHostNameList()
To get the list of execution hosts name.
|
long |
getFinishedTime()
To get the finishedTime
|
long |
getInErrorTime()
To get the time at which the Task has been terminated for the last time (last attempt).
|
JobId |
getJobId()
To get the jobId
|
JobInfo |
getJobInfo()
To get the jobInfo
|
String |
getName()
Get the name of the task
|
int |
getNumberOfExecutionLeft()
Get the number of execution left.
|
int |
getNumberOfExecutionOnFailureLeft()
Get the numberOfExecutionOnFailureLeft value.
|
int |
getProgress()
Return the latest progress value for this task.
|
long |
getScheduledTime()
Get the scheduled time.
|
long |
getStartTime()
To get the startTime
|
TaskStatus |
getStatus()
To get the taskStatus
|
TaskId |
getTaskId()
To get the taskId
|
Map<String,String> |
getVariables()
Return the up-to-date variables associated with this task, in String format
|
String |
getVisualizationConnectionString()
If the visualization is activated, return the connection string
|
boolean |
isVisualizationActivated()
If the visualization is activated on the task
|
JobInfo getJobInfo()
long getFinishedTime()
JobId getJobId()
String getName()
long getStartTime()
long getInErrorTime()
TaskId getTaskId()
TaskStatus getStatus()
int getProgress()
String getExecutionHostName()
String[] getExecutionHostNameList()
int getNumberOfExecutionLeft()
int getNumberOfExecutionOnFailureLeft()
long getExecutionDuration()
long getScheduledTime()
boolean isVisualizationActivated()
String getVisualizationConnectionString()