public static enum NodeProvisioner.StrategyDecision extends Enum<NodeProvisioner.StrategyDecision>
|Enum Constant and Description|
This decision is the default decision and indicates that the
This decision indicates that the
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final NodeProvisioner.StrategyDecision CONSULT_REMAINING_STRATEGIES
NodeProvisioner.Strategyeither could not provision sufficient resources or did not take any action. Any remaining strategies will be able to contribute to the ultimate decision.
public static final NodeProvisioner.StrategyDecision PROVISIONING_COMPLETED
NodeProvisioner.Strategyhas taken sufficient action so as to ensure that the required resources are available, and therefore there is no requirement to consult the remaining strategies. Only return this decision when you are certain that there is no need for additional provisioning actions (i.e. you detected an excess workload and have provisioned enough for that excess workload).
public static NodeProvisioner.StrategyDecision values()
for (NodeProvisioner.StrategyDecision c : NodeProvisioner.StrategyDecision.values()) System.out.println(c);
public static NodeProvisioner.StrategyDecision valueOf(String name)
Copyright © 2004–2021. All rights reserved.