Class RescaleApiScalingRealizer<KEY,​Context extends JobAutoScalerContext<KEY>>

  • All Implemented Interfaces:
    ScalingRealizer<KEY,​Context>

    public class RescaleApiScalingRealizer<KEY,​Context extends JobAutoScalerContext<KEY>>
    extends java.lang.Object
    implements ScalingRealizer<KEY,​Context>
    A ScalingRealizer which uses the Rescale API to apply parallelism changes.

    Note: This is based on code copied from the operator, and they don't depend on each other, so some code is duplicated.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void realize​(Context context, java.util.Map<java.lang.String,​java.lang.String> parallelismOverrides)
      Update job's parallelism to parallelismOverrides.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait