public class VertexThreadInfoStats extends Object implements Statistics
Constructor and Description |
---|
VertexThreadInfoStats(int requestId,
long startTime,
long endTime,
Map<ExecutionAttemptID,Collection<ThreadInfoSample>> samplesBySubtask)
Creates a thread details sample.
|
Modifier and Type | Method and Description |
---|---|
long |
getEndTime()
Returns the timestamp, when all samples where collected.
|
int |
getNumberOfSubtasks() |
int |
getRequestId()
Returns the ID of the sample.
|
Map<ExecutionAttemptID,Collection<ThreadInfoSample>> |
getSamplesBySubtask()
Returns the a map of thread info samples by subtask (execution ID).
|
long |
getStartTime()
Returns the timestamp, when the sample was triggered.
|
String |
toString() |
public VertexThreadInfoStats(int requestId, long startTime, long endTime, Map<ExecutionAttemptID,Collection<ThreadInfoSample>> samplesBySubtask)
requestId
- ID of the sample.startTime
- Timestamp, when the sample was triggered.endTime
- Timestamp, when all thread info samples were collected.samplesBySubtask
- Map of thread info samples by subtask (execution ID).public int getRequestId()
public long getStartTime()
public long getEndTime()
getEndTime
in interface Statistics
public Map<ExecutionAttemptID,Collection<ThreadInfoSample>> getSamplesBySubtask()
public int getNumberOfSubtasks()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.