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

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class StandaloneAutoscalerExecutor<KEY,​Context extends JobAutoScalerContext<KEY>>
    extends java.lang.Object
    implements java.io.Closeable
    The executor of the standalone autoscaler.
    • Field Detail

      • AUTOSCALER_ERROR

        @VisibleForTesting
        protected static final java.lang.String AUTOSCALER_ERROR
        See Also:
        Constant Field Values
    • Method Detail

      • start

        public void start()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • scaling

        @VisibleForTesting
        protected void scaling()
      • scalingSingleJob

        @VisibleForTesting
        protected void scalingSingleJob​(Context jobContext)