public class TaskLifecycleMetricsReader extends java.lang.Object implements TaskLifecycleMetrics
ABNORMAL_TERMINATION, ABORTED, COMPLETE, EXECUTING, INITIALIZED, INITIALIZING, NOT_SET, QUEUED_FOR_EXECUTION, READY, WAITING_FOR_DATA| Modifier and Type | Method and Description |
|---|---|
long |
getArrivalTime()
Retrieve the time at which the operation arrived at this node.
|
byte[] |
getBytes()
Create the serialized representation of this class.
|
long |
getCompletionTime()
Retrieve the time at which this task was completed
|
long |
getCPUBoundTime()
Retrieve the CPU-bound time of the computation.
|
int |
getExecutionStatus()
Retrieve the execution status associated with the operation.
|
java.lang.String |
getInstanceIdentifier()
Retrieve the instance identifier of the operation that was encapsulated
within a Task.
|
int |
getNumberofIterationsSoFar()
Retrieve the number of iterations performed for the operation so far
|
long |
getStartTime()
Retrieve the time this operation was first launched
|
java.lang.String |
getTaskCompletionInfo()
Retrieve information about the completion of a task.
|
long |
getTimeResidentInMemory()
Retrieve the time this operation spent residing in memory
|
java.lang.String |
toString() |
public java.lang.String getInstanceIdentifier()
TaskLifecycleMetricsgetInstanceIdentifier in interface TaskLifecycleMetricspublic long getArrivalTime()
TaskLifecycleMetricsgetArrivalTime in interface TaskLifecycleMetricspublic long getCPUBoundTime()
TaskLifecycleMetricsgetCPUBoundTime in interface TaskLifecycleMetricspublic long getCompletionTime()
TaskLifecycleMetricsgetCompletionTime in interface TaskLifecycleMetricspublic int getNumberofIterationsSoFar()
TaskLifecycleMetricsgetNumberofIterationsSoFar in interface TaskLifecycleMetricspublic long getStartTime()
TaskLifecycleMetricsgetStartTime in interface TaskLifecycleMetricspublic long getTimeResidentInMemory()
TaskLifecycleMetricsgetTimeResidentInMemory in interface TaskLifecycleMetricspublic int getExecutionStatus()
TaskLifecycleMetricsgetExecutionStatus in interface TaskLifecycleMetricspublic java.lang.String getTaskCompletionInfo()
TaskLifecycleMetricsgetTaskCompletionInfo in interface TaskLifecycleMetricspublic byte[] getBytes()
throws java.io.IOException
TaskLifecycleMetricsgetBytes in interface TaskLifecycleMetricsjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object