public class CreditBasedInputBuffersUsageGauge extends AbstractBuffersUsageGauge
SingleInputGate
s under credit based
mode.inputGates
Constructor and Description |
---|
CreditBasedInputBuffersUsageGauge(FloatingBuffersUsageGauge floatingBuffersUsageGauge,
ExclusiveBuffersUsageGauge exclusiveBuffersUsageGauge,
SingleInputGate[] inputGates) |
Modifier and Type | Method and Description |
---|---|
int |
calculateTotalBuffers(SingleInputGate inputGate) |
int |
calculateUsedBuffers(SingleInputGate inputGate) |
getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricType
public CreditBasedInputBuffersUsageGauge(FloatingBuffersUsageGauge floatingBuffersUsageGauge, ExclusiveBuffersUsageGauge exclusiveBuffersUsageGauge, SingleInputGate[] inputGates)
public int calculateUsedBuffers(SingleInputGate inputGate)
calculateUsedBuffers
in class AbstractBuffersUsageGauge
public int calculateTotalBuffers(SingleInputGate inputGate)
calculateTotalBuffers
in class AbstractBuffersUsageGauge
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.