public class JobVertexThreadInfoStats extends Object implements Statistics
| 构造器和说明 |
|---|
JobVertexThreadInfoStats(int requestId,
long startTime,
long endTime,
Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,Collection<ThreadInfoSample>> samplesBySubtask)
Creates a thread details sample.
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getEndTime()
Returns the timestamp, when all samples where collected.
|
int |
getNumberOfSubtasks() |
int |
getRequestId()
Returns the ID of the sample.
|
Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<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 JobVertexThreadInfoStats(int requestId,
long startTime,
long endTime,
Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<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 在接口中 Statisticspublic Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,Collection<ThreadInfoSample>> getSamplesBySubtask()
public int getNumberOfSubtasks()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.