@Experimental(value=AUTOSCALING) public static enum DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType extends 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 |
|---|---|
String |
getAlgorithm()
Returns the string representation of this type.
|
static DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getAlgorithm()
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.