Package org.apache.beam.sdk.io.jms
Interface AutoScaler
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultAutoscaler
Enables users to specify their own `JMS` backlog reporters enabling
JmsIO to report
UnboundedSource.UnboundedReader.getTotalBacklogBytes().-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the size of the backlog of unread data in the underlying data source represented by all splits of this source.voidstart()TheAutoScaleris started when theJmsIO.UnboundedJmsReaderis started.voidstop()TheAutoScaleris stopped when theJmsIO.UnboundedJmsReaderis closed.
-
Method Details
-
start
void start()TheAutoScaleris started when theJmsIO.UnboundedJmsReaderis started. -
getTotalBacklogBytes
long getTotalBacklogBytes()Returns the size of the backlog of unread data in the underlying data source represented by all splits of this source. -
stop
void stop()TheAutoScaleris stopped when theJmsIO.UnboundedJmsReaderis closed.
-