public abstract class AbstractBuffersUsageGauge extends Object implements org.apache.flink.metrics.Gauge<Float>
| Modifier and Type | Field and Description |
|---|---|
protected SingleInputGate[] |
inputGates |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
calculateTotalBuffers(SingleInputGate inputGate) |
abstract int |
calculateUsedBuffers(SingleInputGate inputGate) |
Float |
getValue() |
protected final SingleInputGate[] inputGates
@VisibleForTesting public abstract int calculateUsedBuffers(SingleInputGate inputGate)
@VisibleForTesting public abstract int calculateTotalBuffers(SingleInputGate inputGate)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.