All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.AutoscalingPolicyQueueBasedScaling.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






AutoscalingPolicyQueueBasedScaling (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class AutoscalingPolicyQueueBasedScaling

    • Constructor Detail

      • AutoscalingPolicyQueueBasedScaling

        public AutoscalingPolicyQueueBasedScaling()
    • Method Detail

      • getAcceptableBacklogPerInstance

        public Double getAcceptableBacklogPerInstance()
        Scaling based on the average number of tasks in the queue per each active instance. The autoscaler keeps the average number of tasks per instance below this number, based on data collected in the last couple of minutes. The autoscaler will also take into account incoming tasks when calculating when to scale.
        Returns:
        value or null for none
      • setAcceptableBacklogPerInstance

        public AutoscalingPolicyQueueBasedScaling setAcceptableBacklogPerInstance(Double acceptableBacklogPerInstance)
        Scaling based on the average number of tasks in the queue per each active instance. The autoscaler keeps the average number of tasks per instance below this number, based on data collected in the last couple of minutes. The autoscaler will also take into account incoming tasks when calculating when to scale.
        Parameters:
        acceptableBacklogPerInstance - acceptableBacklogPerInstance or null for none
      • getSingleWorkerThroughputPerSec

        public Double getSingleWorkerThroughputPerSec()
        The scaling algorithm will also calculate throughput estimates on its own; if you explicitly provide this value, the autoscaler will take into account your value as well as automatic estimates when deciding how to scale.
        Returns:
        value or null for none
      • setSingleWorkerThroughputPerSec

        public AutoscalingPolicyQueueBasedScaling setSingleWorkerThroughputPerSec(Double singleWorkerThroughputPerSec)
        The scaling algorithm will also calculate throughput estimates on its own; if you explicitly provide this value, the autoscaler will take into account your value as well as automatic estimates when deciding how to scale.
        Parameters:
        singleWorkerThroughputPerSec - singleWorkerThroughputPerSec or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy