Class ThrottlingSignaler
- java.lang.Object
-
- org.apache.beam.sdk.io.components.throttling.ThrottlingSignaler
-
public class ThrottlingSignaler extends java.lang.ObjectThe 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 Constructor Description ThrottlingSignaler()ThrottlingSignaler(java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsignalThrottling(long milliseconds)Signal that a transform has been throttled for an amount of time represented in milliseconds.
-