@Experimental(value=AUTOSCALING) public static enum DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType extends java.lang.Enum<DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType>
Enum Constant and Description |
---|
BASIC
Deprecated.
use
THROUGHPUT_BASED . |
NONE
Use numWorkers machines.
|
THROUGHPUT_BASED
Autoscale the workerpool based on throughput (up to maxNumWorkers).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Returns the string representation of this type.
|
static DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType NONE
@Deprecated public static final DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType BASIC
THROUGHPUT_BASED
.public static final DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType THROUGHPUT_BASED
public static DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType[] values()
for (DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType c : DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType.values()) System.out.println(c);
public static DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getAlgorithm()