Class Cluster
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.configserver.Cluster
-
public class Cluster extends Object
- Author:
- bratseth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCluster.ScalingEventstatic classCluster.Utilization
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringautoscalingStatus()StringautoscalingStatusCode()com.yahoo.config.provision.ClusterResourcescurrent()doublecurrentQueryFractionOfMax()com.yahoo.config.provision.ClusterSpec.Idid()com.yahoo.config.provision.ClusterResourcesmax()doublemaxQueryGrowthRate()com.yahoo.config.provision.ClusterResourcesmin()DurationscalingDuration()List<Cluster.ScalingEvent>scalingEvents()Optional<com.yahoo.config.provision.ClusterResources>suggested()Optional<com.yahoo.config.provision.ClusterResources>target()StringtoString()com.yahoo.config.provision.ClusterSpec.Typetype()Cluster.Utilizationutilization()
-
-
-
Constructor Detail
-
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 Detail
-
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
public Optional<com.yahoo.config.provision.ClusterResources> target()
-
suggested
public Optional<com.yahoo.config.provision.ClusterResources> suggested()
-
utilization
public Cluster.Utilization utilization()
-
scalingEvents
public List<Cluster.ScalingEvent> scalingEvents()
-
autoscalingStatusCode
public String autoscalingStatusCode()
-
autoscalingStatus
public String autoscalingStatus()
-
scalingDuration
public Duration scalingDuration()
-
maxQueryGrowthRate
public double maxQueryGrowthRate()
-
currentQueryFractionOfMax
public double currentQueryFractionOfMax()
-
-