public interface TaskLifecycleMetrics
Modifier and Type | Field and Description |
---|---|
static int |
ABNORMAL_TERMINATION |
static int |
ABORTED |
static int |
COMPLETE |
static int |
EXECUTING |
static int |
INITIALIZED |
static int |
INITIALIZING |
static int |
NOT_SET |
static int |
QUEUED_FOR_EXECUTION |
static int |
READY |
static int |
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.
|
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
|
String |
getTaskCompletionInfo()
Retrieve information about the completion of a task.
|
long |
getTimeResidentInMemory()
Retrieve the time this operation spent residing in memory
|
static final int NOT_SET
static final int INITIALIZING
static final int INITIALIZED
static final int READY
static final int COMPLETE
static final int WAITING_FOR_DATA
static final int EXECUTING
static final int QUEUED_FOR_EXECUTION
static final int ABNORMAL_TERMINATION
static final int ABORTED
String getInstanceIdentifier()
int getNumberofIterationsSoFar()
long getCPUBoundTime()
long getArrivalTime()
long getStartTime()
long getCompletionTime()
long getTimeResidentInMemory()
int getExecutionStatus()
String getTaskCompletionInfo()
byte[] getBytes() throws IOException
IOException
Copyright © 2015. All rights reserved.