Enum Class OptimizationStrategy
java.lang.Object
java.lang.Enum<OptimizationStrategy>
com.eqixiac.equinix.design.optimizer.enums.OptimizationStrategy
- All Implemented Interfaces:
Serializable, Comparable<OptimizationStrategy>, Constable
Pre-defined optimization strategies that set default scoring weights.
Users can further customize weights via
ScoringWeights.
Each constant carries a weight per scoring dimension, in the order latency,
provider coverage, cost, redundancy, compliance. The engine sums the effective
weights (after any ScoringWeights overrides) and renormalizes them to 1,
so the values below are relative shares, not absolute multipliers.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEven-handed default: latency 0.30, provider coverage 0.25, cost 0.20, redundancy 0.15, compliance 0.10.Prioritizes estimated monthly cost: latency 0.15, provider coverage 0.15, cost 0.45, redundancy 0.15, compliance 0.10.Prioritizes proximity to user sites: latency 0.50, provider coverage 0.20, cost 0.10, redundancy 0.10, compliance 0.10.Prioritizes cloud/service-profile reach: latency 0.20, provider coverage 0.45, cost 0.15, redundancy 0.10, compliance 0.10.Prioritizes geographic diversity: latency 0.20, provider coverage 0.15, cost 0.15, redundancy 0.40, compliance 0.10. -
Method Summary
Modifier and TypeMethodDescriptionstatic OptimizationStrategyReturns the enum constant of this class with the specified name.static OptimizationStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BALANCED
Even-handed default: latency 0.30, provider coverage 0.25, cost 0.20, redundancy 0.15, compliance 0.10. -
LATENCY_FIRST
Prioritizes proximity to user sites: latency 0.50, provider coverage 0.20, cost 0.10, redundancy 0.10, compliance 0.10. -
COST_FIRST
Prioritizes estimated monthly cost: latency 0.15, provider coverage 0.15, cost 0.45, redundancy 0.15, compliance 0.10. -
REDUNDANCY_FIRST
Prioritizes geographic diversity: latency 0.20, provider coverage 0.15, cost 0.15, redundancy 0.40, compliance 0.10. -
PROVIDER_COVERAGE_FIRST
Prioritizes cloud/service-profile reach: latency 0.20, provider coverage 0.45, cost 0.15, redundancy 0.10, compliance 0.10.
-
-
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
-