Class PollScaleReportHandle<T extends ScalingTask>
java.lang.Object
io.temporal.internal.worker.PollScaleReportHandle<T>
- All Implemented Interfaces:
Runnable
@ThreadSafe
public class PollScaleReportHandle<T extends ScalingTask>
extends Object
implements Runnable
PollScaleReportHandle is responsible for managing the scaling of pollers based on the scaling
feedback attached to the task by the server.
-
Constructor Summary
ConstructorsConstructorDescriptionPollScaleReportHandle(int minPollerCount, int maxPollerCount, int initialPollerCount, boolean serverSupportsAutoscaling, Functions.Proc1<Integer> scaleCallback) -
Method Summary
-
Constructor Details
-
PollScaleReportHandle
public PollScaleReportHandle(int minPollerCount, int maxPollerCount, int initialPollerCount, boolean serverSupportsAutoscaling, Functions.Proc1<Integer> scaleCallback)
-
-
Method Details
-
report
-
run
-