public abstract class AbstractBuffersUsageGauge extends Object implements 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()
Calculates and returns the measured value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricType
protected final SingleInputGate[] inputGates
@VisibleForTesting public abstract int calculateUsedBuffers(SingleInputGate inputGate)
@VisibleForTesting public abstract int calculateTotalBuffers(SingleInputGate inputGate)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.