protected static enum DefaultElasticityManager.ScalingDecision extends Enum<DefaultElasticityManager.ScalingDecision>
| Enum Constant and Description |
|---|
COOLDOWN
Cluster is cools down.
|
NOTHING_TO_DO
Nothing to do with cluster.
|
OUT_OF_SPACE
Indicates that maximum number of resources in the cluster are reached.
|
SCALE_IN
Shrink the size of a cluster
|
SCALE_OUT
Inflate the size of a cluster
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultElasticityManager.ScalingDecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultElasticityManager.ScalingDecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultElasticityManager.ScalingDecision NOTHING_TO_DO
public static final DefaultElasticityManager.ScalingDecision COOLDOWN
public static final DefaultElasticityManager.ScalingDecision SCALE_IN
public static final DefaultElasticityManager.ScalingDecision SCALE_OUT
public static final DefaultElasticityManager.ScalingDecision OUT_OF_SPACE
public static DefaultElasticityManager.ScalingDecision[] values()
for (DefaultElasticityManager.ScalingDecision c : DefaultElasticityManager.ScalingDecision.values()) System.out.println(c);
public static DefaultElasticityManager.ScalingDecision 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 nullCopyright © 2015–2017 Bytex Solutions. All rights reserved.