Enum Class DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType
java.lang.Object
java.lang.Enum<DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType>
org.apache.beam.runners.dataflow.options.DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType
- All Implemented Interfaces:
Serializable,Comparable<DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType>,Constable
- Enclosing interface:
DataflowPipelineWorkerPoolOptions
public static enum DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType
extends Enum<DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType>
Type of autoscaling algorithm to use.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Use numWorkers machines.Autoscale the workerpool based on throughput (up to maxNumWorkers). -
Method Summary
Modifier and TypeMethodDescriptionReturns the string representation of this type.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Use numWorkers machines. Do not autoscale the worker pool. -
BASIC
Deprecated.useTHROUGHPUT_BASED. -
THROUGHPUT_BASED
Autoscale the workerpool based on throughput (up to maxNumWorkers).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getAlgorithm
Returns the string representation of this type.
-
THROUGHPUT_BASED.