Class Cluster


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

        public String autoscalingStatusCode()
      • autoscalingStatus

        public String autoscalingStatus()
      • scalingDuration

        public Duration scalingDuration()
      • maxQueryGrowthRate

        public double maxQueryGrowthRate()
      • currentQueryFractionOfMax

        public double currentQueryFractionOfMax()