Class ThrottlingSignaler
java.lang.Object
org.apache.beam.sdk.io.components.throttling.ThrottlingSignaler
The ThrottlingSignaler is a utility class for IOs to signal to the runner that a process is being
throttled, preventing autoscaling. This is primarily used when making calls to a remote service
where quotas and rate limiting are reasonable considerations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsignalThrottling(long milliseconds) Signal that a transform has been throttled for an amount of time represented in milliseconds.
-
Constructor Details
-
ThrottlingSignaler
-
ThrottlingSignaler
public ThrottlingSignaler()
-
-
Method Details
-
signalThrottling
public void signalThrottling(long milliseconds) Signal that a transform has been throttled for an amount of time represented in milliseconds.
-