public class DefaultAutoscaler extends java.lang.Object implements AutoScaler
AutoScaler. Returns UnboundedSource.UnboundedReader.BACKLOG_UNKNOWN as the default value.| Constructor and Description |
|---|
DefaultAutoscaler() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTotalBacklogBytes()
Returns the size of the backlog of unread data in the underlying data source represented by all
splits of this source.
|
void |
start()
The
AutoScaler is started when the JmsIO.UnboundedJmsReader is started. |
void |
stop()
The
AutoScaler is stopped when the JmsIO.UnboundedJmsReader is closed. |
public void start()
AutoScalerAutoScaler is started when the JmsIO.UnboundedJmsReader is started.start in interface AutoScalerpublic long getTotalBacklogBytes()
AutoScalergetTotalBacklogBytes in interface AutoScalerpublic void stop()
AutoScalerAutoScaler is stopped when the JmsIO.UnboundedJmsReader is closed.stop in interface AutoScaler