public class ThroughputCalculator extends Object
| 构造器和说明 |
|---|
ThroughputCalculator(org.apache.flink.util.clock.Clock clock) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
calculateThroughput() |
long |
calculateThroughput(long dataSize,
long time) |
void |
incomingDataSize(long receivedDataSize) |
void |
pauseMeasurement()
Mark when the time should not be taken into account.
|
void |
resumeMeasurement()
Mark when the time should be included to the throughput calculation.
|
public void incomingDataSize(long receivedDataSize)
public void pauseMeasurement()
public void resumeMeasurement()
public long calculateThroughput()
public long calculateThroughput(long dataSize,
long time)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.