java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.configserver.Cluster

public class Cluster extends Object
Author:
bratseth
  • 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

      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()
    • toString

      public String toString()
      Overrides:
      toString in class Object