public class BufferDebloater extends Object
| Constructor and Description |
|---|
BufferDebloater(String owningTaskName,
int gateIndex,
long targetTotalBufferSize,
int maxBufferSize,
int minBufferSize,
int bufferDebloatThresholdPercentages,
long numberOfSamples) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastBufferSize() |
Duration |
getLastEstimatedTimeToConsumeBuffers() |
OptionalInt |
recalculateBufferSize(long currentThroughput,
int buffersInUse) |
public BufferDebloater(String owningTaskName, int gateIndex, long targetTotalBufferSize, int maxBufferSize, int minBufferSize, int bufferDebloatThresholdPercentages, long numberOfSamples)
public OptionalInt recalculateBufferSize(long currentThroughput, int buffersInUse)
public int getLastBufferSize()
public Duration getLastEstimatedTimeToConsumeBuffers()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.