Class Cluster
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.configserver.Cluster
- Author:
- bratseth
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionCluster(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.provision.ClusterSpec.Type type, com.yahoo.config.provision.ClusterResources min, com.yahoo.config.provision.ClusterResources max, com.yahoo.config.provision.ClusterResources current, Optional<com.yahoo.config.provision.ClusterResources> target, Optional<com.yahoo.config.provision.ClusterResources> suggested, Cluster.Utilization utilization, List<Cluster.ScalingEvent> scalingEvents, String autoscalingStatusCode, String autoscalingStatus, Duration scalingDuration, double maxQueryGrowthRate, double currentQueryFractionOfMax) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.config.provision.ClusterResourcescurrent()doublecom.yahoo.config.provision.ClusterSpec.Idid()com.yahoo.config.provision.ClusterResourcesmax()doublecom.yahoo.config.provision.ClusterResourcesmin()Optional<com.yahoo.config.provision.ClusterResources>Optional<com.yahoo.config.provision.ClusterResources>target()toString()com.yahoo.config.provision.ClusterSpec.Typetype()
-
Constructor Details
-
Cluster
public Cluster(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.provision.ClusterSpec.Type type, com.yahoo.config.provision.ClusterResources min, com.yahoo.config.provision.ClusterResources max, com.yahoo.config.provision.ClusterResources current, Optional<com.yahoo.config.provision.ClusterResources> target, Optional<com.yahoo.config.provision.ClusterResources> suggested, Cluster.Utilization utilization, List<Cluster.ScalingEvent> scalingEvents, String autoscalingStatusCode, String autoscalingStatus, Duration scalingDuration, double maxQueryGrowthRate, double currentQueryFractionOfMax)
-
-
Method Details
-
id
public com.yahoo.config.provision.ClusterSpec.Id id() -
type
public com.yahoo.config.provision.ClusterSpec.Type type() -
min
public com.yahoo.config.provision.ClusterResources min() -
max
public com.yahoo.config.provision.ClusterResources max() -
current
public com.yahoo.config.provision.ClusterResources current() -
target
-
suggested
-
utilization
-
scalingEvents
-
autoscalingStatusCode
-
autoscalingStatus
-
scalingDuration
-
maxQueryGrowthRate
public double maxQueryGrowthRate() -
currentQueryFractionOfMax
public double currentQueryFractionOfMax() -
toString
-