public class WorkerBenchCoarseDataPoint
extends java.lang.Object
| Constructor and Description |
|---|
WorkerBenchCoarseDataPoint(java.lang.Long workerID,
java.lang.Long threadID)
Creates a coarse data point without data and throughput arrays.
|
WorkerBenchCoarseDataPoint(java.lang.Long workerID,
java.lang.Long threadID,
java.util.List<WorkerBenchDataPoint> data,
java.util.List<java.lang.Long> throughput)
Creates a coarse data point with data and throughput arrays.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDataPoint(WorkerBenchDataPoint data) |
void |
clearThroughput()
removes the list of all throughput after worker aggregation.
|
java.util.List<WorkerBenchDataPoint> |
getData() |
java.util.List<java.lang.Long> |
getThroughput() |
java.lang.Long |
getTid() |
java.lang.Long |
getWid() |
void |
setData(java.util.List<WorkerBenchDataPoint> data) |
void |
setThroughput(java.util.List<java.lang.Long> throughput) |
void |
setTid(java.lang.Long tid) |
void |
setWid(java.lang.Long wid) |
public WorkerBenchCoarseDataPoint(java.lang.Long workerID,
java.lang.Long threadID)
workerID - the ID of the workerthreadID - the ID of the threadpublic WorkerBenchCoarseDataPoint(java.lang.Long workerID,
java.lang.Long threadID,
java.util.List<WorkerBenchDataPoint> data,
java.util.List<java.lang.Long> throughput)
workerID - the ID of the workerthreadID - the ID of the threaddata - the list of data point liststhroughput - the list of throughputpublic java.lang.Long getWid()
public void setWid(java.lang.Long wid)
wid - the ID of the workerpublic java.lang.Long getTid()
public void setTid(java.lang.Long tid)
tid - the ID of the threadpublic java.util.List<WorkerBenchDataPoint> getData()
public void setData(java.util.List<WorkerBenchDataPoint> data)
data - the list of data point listspublic void addDataPoint(WorkerBenchDataPoint data)
data - add a data point list to the list of data point listspublic java.util.List<java.lang.Long> getThroughput()
public void setThroughput(java.util.List<java.lang.Long> throughput)
throughput - the list of all throughputpublic void clearThroughput()
Copyright © 2023. All Rights Reserved.