Class GetTaskExecutionCapacityProviderStrategy


  • public final class GetTaskExecutionCapacityProviderStrategy
    extends java.lang.Object
    • Method Detail

      • base

        public java.util.Optional<java.lang.Integer> base()
        Returns:
        Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`.
      • capacityProvider

        public java.lang.String capacityProvider()
        Returns:
        Name of the capacity provider.
      • weight

        public java.util.Optional<java.lang.Integer> weight()
        Returns:
        Relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`.